| ... | @@ -229,7 +229,7 @@ is_linking_libc: bool = false, | ... | @@ -229,7 +229,7 @@ is_linking_libc: bool = false, |
| 229 | /// Computed during make(). | 229 | /// Computed during make(). |
| 230 | is_linking_libcpp: bool = false, | 230 | is_linking_libcpp: bool = false, |
| 231 | | 231 | |
| 232 | no_builtin: bool = false, | 232 | no_builtin: ?bool = null, |
| 233 | | 233 | |
| 234 | /// Populated during the make phase when there is a long-lived compiler process. | 234 | /// Populated during the make phase when there is a long-lived compiler process. |
| 235 | /// Managed by the build runner, not user build script. | 235 | /// Managed by the build runner, not user build script. |
| ... | @@ -1646,8 +1646,8 @@ fn getZigArgs(compile: *Compile, fuzz: bool) ![][]const u8 { | ... | @@ -1646,8 +1646,8 @@ fn getZigArgs(compile: *Compile, fuzz: bool) ![][]const u8 { |
| 1646 | } | 1646 | } |
| 1647 | } | 1647 | } |
| 1648 | | 1648 | |
| 1649 | if (compile.no_builtin) { | 1649 | if (compile.no_builtin) |enabled| { |
| 1650 | try zig_args.append("-fno-builtin"); | 1650 | try zig_args.append(if (enabled) "-fbuiltin" else "-fno-builtin"); |
| 1651 | } | 1651 | } |
| 1652 | | 1652 | |
| 1653 | if (b.sysroot) |sysroot| { | 1653 | if (b.sysroot) |sysroot| { |