Browse Source

Merge pull request #1176 from staticfloat/sf/dynamic_arch

Fix DYNAMIC_ARCH=1 breaking builds on non-x86 platforms
tags/v0.2.20^2
Martin Kroeker GitHub 9 years ago
parent
commit
5649b2c53a
2 changed files with 7 additions and 1 deletions
  1. +5
    -0
      Makefile
  2. +2
    -1
      Makefile.system

+ 5
- 0
Makefile 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 '$*=$($*)'

+ 2
- 1
Makefile.system 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



Loading…
Cancel
Save