Browse Source

Revert things a bit to get linux builds working again

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 2 years ago
parent
commit
61563bddfb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      setup/env.sh

+ 3
- 4
setup/env.sh View File

@@ -137,15 +137,14 @@ elif [ "${WASM}" -eq 1 ]; then
else
LINK_FLAGS+=" -Wl,-O1,--as-needed,--gc-sections,--no-undefined,--strip-all"
if [ "${WIN32}" -eq 1 ]; then
LINK_FLAGS+=" -static"
fi
LINK_FLAGS+=" -static-libgcc -static-libstdc++ -Wl,-Bstatic"
if [ "${WIN32}" -eq 1 ]; then
LINK_FLAGS+=" -static -static-libgcc -static-libstdc++ -Wl,-Bstatic"
if [ "${CROSS_COMPILING}" -eq 0 ] && [ -e "/usr/lib/libssp.a" ]; then
LINK_FLAGS+=" -lssp"
else
LINK_FLAGS+=" -lssp_nonshared"
fi
else
LINK_FLAGS+=" -static-libgcc -static-libstdc++"
fi
fi



Loading…
Cancel
Save