make DYNAMIC_ARCH option available to getarch_2nd/param.h
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 8 Jan 2022 22:50:34 +0000 (23:50 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Jan 2022 22:50:34 +0000 (23:50 +0100)
Makefile.prebuild

index d6395da..399db95 100644 (file)
@@ -3,6 +3,10 @@
 export BINARY
 export USE_OPENMP
 
+ifdef DYNAMIC_ARCH
+override HOST_CFLAGS += -DDYNAMIC_ARCH
+endif
+
 ifdef TARGET_CORE
 TARGET_MAKE = Makefile_kernel.conf
 TARGET_CONF = config_kernel.h