From db07a2daffcd52b27621650bf369aa35420877f1 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Thu, 20 Jun 2024 15:04:39 +0300 Subject: [PATCH] Modify build script. --- build_native.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_native.sh b/build_native.sh index c00a4f6..d4bb6f2 100755 --- a/build_native.sh +++ b/build_native.sh @@ -5,7 +5,12 @@ export CMAKE_DIR="$PWD/docker-cross-compiler/cmake" export NOINSTALL=1 export REFUEL_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true" -./docker-cross-compiler/sh/build_native.sh "$PWD/freetype" +# Clang Builds +./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\"" +./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 mkdir -p \