diff options
author | Sven Gothel <[email protected]> | 2020-08-25 06:13:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-08-25 06:13:34 +0200 |
commit | 312aa3d0b3ffef35905a55418a928760f7031b3c (patch) | |
tree | 02a831caded053f377dbd5bf9b8dd7174ec31e8d /scripts | |
parent | a6e68f1f2a70ffbc55f6da60fac3767db550e3b1 (diff) |
cmake: CMAKE_EXE_LINKER_FLAGS += '-latomic' to fix gcc-8 on Raspberry: undefined reference to `__atomic_store_8'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 98f1dae5..bec14b93 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -26,6 +26,7 @@ buildit() { cd build-$archabi # cmake -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON .. cmake -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON .. + # cmake -DCMAKE_INSTALL_PREFIX=$rootdir/dist-$archabi -DSKIP_TINYB=ON -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DDEBUG=ON .. make install test if [ $? -eq 0 ] ; then echo "BUILD SUCCESS $bname $archabi" |