Commit e089d21439
Changed files (1)
src
libs
src/libs/freebsd.zig
@@ -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}", .{