mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 12:33:19 +00:00
parent
e37fc57495
commit
e089d21439
@ -81,7 +81,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre
|
||||
"-O2",
|
||||
"-fno-common",
|
||||
"-std=gnu99",
|
||||
"-DPIC",
|
||||
"-w", // Disable all warnings.
|
||||
});
|
||||
|
||||
@ -98,6 +97,7 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre
|
||||
|
||||
inline for (.{ &cflags, &acflags }) |flags| {
|
||||
try flags.appendSlice(&.{
|
||||
"-DPIC",
|
||||
"-DSTRIP_FBSDID",
|
||||
"-I",
|
||||
try includePath(comp, arena, try std.fmt.allocPrint(arena, "{s}-{s}-{s}", .{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user