diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2019-07-07 16:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 16:04:45 +0200 |
commit | b89c781637503ec66117eb3b887a3755d42f0f46 (patch) | |
tree | 1aa2c1dce1a4533b4ea292db7869b5f7aef63d61 | |
parent | abea977ded8729c6dcfcfbee51a18eceef8d8440 (diff) | |
download | openblas-b89c781637503ec66117eb3b887a3755d42f0f46.tar.gz openblas-b89c781637503ec66117eb3b887a3755d42f0f46.tar.bz2 openblas-b89c781637503ec66117eb3b887a3755d42f0f46.zip |
Fix surprising behaviour of NO_AFFINITY=0
-rw-r--r-- | Makefile.system | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.system b/Makefile.system index 16791bcc2..09a648e4a 100644 --- a/Makefile.system +++ b/Makefile.system @@ -1124,8 +1124,12 @@ endif endif ifdef NO_AFFINITY +ifeq ($(NO_AFFINITY), 0) +override undefine NO_AFFINITY +else CCOMMON_OPT += -DNO_AFFINITY endif +endif ifdef FUNCTION_PROFILE CCOMMON_OPT += -DFUNCTION_PROFILE |