From a77f4c8be5e57fa8810362e02f3f156ddfdc9fef Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Thu, 20 Jun 2024 15:12:36 +0300 Subject: [PATCH] Fix cmake compile options? --- build_native.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_native.sh b/build_native.sh index d4bb6f2..42b3e40 100755 --- a/build_native.sh +++ b/build_native.sh @@ -9,7 +9,7 @@ export REFUEL_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true" ./docker-cross-compiler/sh/build_native.sh "$PWD" "osx-arm64 osx-x64" # GCC Builds -export REFUEL_ADDITIONAL_CMAKE="$REFUEL_ADDITIONAL_CMAKE -D CMAKE_CXX_FLAGS=\"-static-libgcc -static-libstdc++ -fno-exceptions\"" +export REFUEL_ADDITIONAL_CMAKE="$REFUEL_ADDITIONAL_CMAKE -D COMPILE_OPTIONS=\"-static-libgcc;-static-libstdc++;-fno-exceptions\"" ./docker-cross-compiler/sh/build_native.sh "$PWD" "linux-arm linux-arm64 linux-x64 win-x64 win-x86" # Copy out natives from their respective directories into runtimes