| ... | ... | @@ -121,7 +121,7 @@ string(REGEX REPLACE "\\\\" "\\\\\\\\" ZIG_LIBC_INCLUDE_DIR_ESCAPED "${ZIG_LIBC_ |
| 121 | 121 | option(ZIG_TEST_COVERAGE "Build Zig with test coverage instrumentation" OFF) |
| 122 | 122 | |
| 123 | 123 | set(ZIG_TARGET_TRIPLE "native" CACHE STRING "arch-os-abi to output binaries for") |
| 124 | | set(ZIG_TARGET_MCPU "baseline" CACHE STRING "-mcpu parameter to output binaries for") |
| 124 | set(ZIG_TARGET_MCPU "native" CACHE STRING "-mcpu parameter to output binaries for") |
| 125 | 125 | set(ZIG_EXECUTABLE "" CACHE STRING "(when cross compiling) path to already-built zig binary") |
| 126 | 126 | set(ZIG_SINGLE_THREADED off CACHE BOOL "limit the zig compiler to use only 1 thread") |
| 127 | 127 | set(ZIG_OMIT_STAGE2 off CACHE BOOL "omit the stage2 backend from stage1") |
| ... | ... | @@ -1036,8 +1036,8 @@ set(BUILD_ZIG2_ARGS |
| 1036 | 1036 | "-femit-bin=${ZIG2_OBJECT}" |
| 1037 | 1037 | -fcompiler-rt |
| 1038 | 1038 | ${ZIG_SINGLE_THREADED_ARG} |
| 1039 | | -target "${ZIG_TARGET_TRIPLE}" |
| 1040 | | -mcpu "${ZIG_TARGET_MCPU}" |
| 1039 | -target native |
| 1040 | -mcpu native |
| 1041 | 1041 | -lc |
| 1042 | 1042 | --pkg-begin build_options "${ZIG_CONFIG_ZIG_OUT}" |
| 1043 | 1043 | --pkg-end |