Handle inadvertent use of DYNAMIC_ARCH=0
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 22 May 2021 12:23:49 +0000 (14:23 +0200)
committerGitHub <noreply@github.com>
Sat, 22 May 2021 12:23:49 +0000 (14:23 +0200)
Makefile.x86
Makefile.x86_64

index 893379c..25ca660 100644 (file)
@@ -1,6 +1,6 @@
 # COMPILER_PREFIX = mingw32-
 
-ifndef DYNAMIC_ARCH
+ifneq ($(DYNAMIC_ARCH),1)
 ADD_CPUFLAGS = 1
 else
 ifdef TARGET_CORE
index f62ab9e..307cbe1 100644 (file)
@@ -9,7 +9,7 @@ endif
 endif
 
 
-ifndef DYNAMIC_ARCH
+ifneq ($(DYNAMIC_ARCH),1)
 ADD_CPUFLAGS = 1
 else
 ifdef TARGET_CORE