Skip to content

Commit

Permalink
Disable cross compiling macos on tcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Feb 28, 2025
1 parent 95a2663 commit 3a5ae97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/InstallLibTCC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ elseif(PROJECT_OS_FAMILY STREQUAL macos)
# AddressSanitizer can not provide additional info.
# SUMMARY: AddressSanitizer: BUS (libsystem_c.dylib:x86_64+0x3647db0f) in off32

set(LIBTCC_CONFIGURE ./configure --prefix=${LIBTCC_INSTALL_PREFIX} ${LIBTCC_DEBUG} --enable-cross) # --disable-static
set(LIBTCC_CONFIGURE ./configure --prefix=${LIBTCC_INSTALL_PREFIX} ${LIBTCC_DEBUG}) # --disable-static
elseif(PROJECT_OS_FAMILY STREQUAL win32)
if(PROJECT_OS_NAME STREQUAL MinGW)
set(LIBTCC_CONFIGURE ./configure --prefix=${LIBTCC_INSTALL_PREFIX} ${LIBTCC_DEBUG} --config-mingw32 --disable-static)
Expand Down

0 comments on commit 3a5ae97

Please sign in to comment.