Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
use ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed May 6, 2020
1 parent dcceacd commit 83df1e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion env_vars.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Environment variables for build
OPENBLAS_VERSION="v0.3.7"
MACOSX_DEPLOYMENT_TARGET=10.9
CFLAGS="-std=c99 -fno-strict-aliasing -Wl,--strip-debug"
CFLAGS="-std=c99 -fno-strict-aliasing"
LDFLAGS="-Wl,--strip-debug"
5 changes: 3 additions & 2 deletions env_vars_32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ 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 -Wl,--strip-debug"
CFLAGS="-std=c99 -fno-strict-aliasing -Wl,--strip-debug"
# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing"
CFLAGS="-std=c99 -fno-strict-aliasing"
LDFLAGS="-Wl,--strip-debug"

0 comments on commit 83df1e9

Please sign in to comment.