1 2 3 4 5 6 7 8 9 10
# add -latomic where needed (i486) if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ sed ' /configure/ i \ export LDFLAGS="-latomic" ' )" fi