Merge pull request #1176 from staticfloat/sf/dynamic_arch

Fix DYNAMIC_ARCH=1 breaking builds on non-x86 platforms
This commit is contained in:
Martin Kroeker 2017-05-05 11:59:41 +02:00 committed by GitHub
commit 5649b2c53a
2 changed files with 7 additions and 1 deletions

View File

@ -329,3 +329,8 @@ endif
@rm -f *.grd Makefile.conf_last config_last.h
@(cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out testing_results.txt)
@echo Done.
# Makefile debugging trick:
# call print-VARIABLE to see the runtime value of any variable
print-%:
@echo '$*=$($*)'

View File

@ -453,8 +453,9 @@ DYNAMIC_CORE += HASWELL ZEN
endif
endif
# If DYNAMIC_CORE is not set, DYNAMIC_ARCH cannot do anything, so force it to empty
ifndef DYNAMIC_CORE
DYNAMIC_ARCH =
override DYNAMIC_ARCH=
endif
endif