|
|
@ -85,8 +85,11 @@ fi |
|
|
|
export CXXFLAGS="-DNDEBUG" |
|
|
|
export CXXFLAGS="-DNDEBUG" |
|
|
|
|
|
|
|
|
|
|
|
# Statically link libgcc and libstdc++. |
|
|
|
# Statically link libgcc and libstdc++. |
|
|
|
# -s to produce stripped binary |
|
|
|
# -s to produce stripped binary. |
|
|
|
export LDFLAGS="-static-libgcc -static-libstdc++ -s" |
|
|
|
# And they don't work under Mac. |
|
|
|
|
|
|
|
if [[ "$OS" != osx ]]; then |
|
|
|
|
|
|
|
export LDFLAGS="-static-libgcc -static-libstdc++ -s" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
cd "$WORKING_DIR"/.. && ./configure $CONFIGURE_ARGS && |
|
|
|
cd "$WORKING_DIR"/.. && ./configure $CONFIGURE_ARGS && |
|
|
|
cd src && make clean && make $MAKE_TARGET && |
|
|
|
cd src && make clean && make $MAKE_TARGET && |
|
|
|