summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-07-07 16:04:45 +0200
committerGitHub <noreply@github.com>2019-07-07 16:04:45 +0200
commitb89c781637503ec66117eb3b887a3755d42f0f46 (patch)
tree1aa2c1dce1a4533b4ea292db7869b5f7aef63d61
parentabea977ded8729c6dcfcfbee51a18eceef8d8440 (diff)
downloadopenblas-b89c781637503ec66117eb3b887a3755d42f0f46.tar.gz
openblas-b89c781637503ec66117eb3b887a3755d42f0f46.tar.bz2
openblas-b89c781637503ec66117eb3b887a3755d42f0f46.zip
Fix surprising behaviour of NO_AFFINITY=0
-rw-r--r--Makefile.system4
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