mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
parent
e37fc57495
commit
e089d21439
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue