Skip to content

Commit 08dedf4

Browse files
authored
Merge pull request #2177 from martin-frbg/noaff
Fix surprising behaviour of NO_AFFINITY=0
2 parents dd7ff77 + b89c781 commit 08dedf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.system

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,8 +1124,12 @@ endif
11241124
endif
11251125

11261126
ifdef NO_AFFINITY
1127+
ifeq ($(NO_AFFINITY), 0)
1128+
override undefine NO_AFFINITY
1129+
else
11271130
CCOMMON_OPT += -DNO_AFFINITY
11281131
endif
1132+
endif
11291133

11301134
ifdef FUNCTION_PROFILE
11311135
CCOMMON_OPT += -DFUNCTION_PROFILE

0 commit comments

Comments
 (0)