diff --git a/env_vars.sh b/env_vars.sh index 1ab836c..db3f407 100644 --- a/env_vars.sh +++ b/env_vars.sh @@ -1,4 +1,4 @@ # Environment variables for build OPENBLAS_VERSION="v0.3.7" MACOSX_DEPLOYMENT_TARGET=10.9 -CFLAGS="-std=c99 -fno-strict-aliasing" +CFLAGS="-std=c99 -fno-strict-aliasing -Wl,--strip-debug" diff --git a/env_vars_32.sh b/env_vars_32.sh index 3a630d2..2e33e86 100644 --- a/env_vars_32.sh +++ b/env_vars_32.sh @@ -5,5 +5,5 @@ set -x OPENBLAS_VERSION="v0.3.7" MACOSX_DEPLOYMENT_TARGET=10.9 # Causes failure for pre-1.19 in np.reciprocal -# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing" -CFLAGS="-std=c99 -fno-strict-aliasing" +# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing -Wl,--strip-debug" +CFLAGS="-std=c99 -fno-strict-aliasing -Wl,--strip-debug"