aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-28 15:12:52 +0100
committerSven Gothel <[email protected]>2021-01-28 15:12:52 +0100
commit272823b27e134217efa450971d7e00fa50c44241 (patch)
tree82159a277a7ba09930057d7052bf6897d2e45d05 /scripts/build.sh
parent5a6b725aed97574fe934b5ef22a0a2a64de30b7c (diff)
Revert to gcc as default since clang < 10 has issues on 32bit arm (raspi3 setup)
Diffstat (limited to 'scripts/build.sh')
-rw-r--r--scripts/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 91c99077..77685a09 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -31,7 +31,7 @@ buildit() {
rm -rf build-$archabi
mkdir -p build-$archabi
cd build-$archabi
- CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
+ # CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DUSE_STRIP=OFF ..
# cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DUSE_STRIP=ON -DJAVAC_DEBUG_ARGS="none" ..