1 2 3 4 5 6 7 8 9
# i486 needs atomic libraries when linking if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ sed ' s/cmake /cmake -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic / ' )" fi