Update build_native to honor build options.

This commit is contained in:
H. Utku Maden 2024-06-14 22:11:22 +03:00
parent 44c8ab3212
commit 5901e3e317

@ -43,8 +43,6 @@ for ARCH in $ARCHS; do
cmake -B $BUILD -S $SRC \ cmake -B $BUILD -S $SRC \
-G Ninja \ -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=-static-libgcc \
-DCMAKE_CXX_FLAGS=-static-libgcc \
-DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \ -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
$QUIK_ADDITIONAL_CMAKE $QUIK_ADDITIONAL_CMAKE