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