about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Carbonetto2017-07-04 21:01:17 -0500
committerGitHub2017-07-04 21:01:17 -0500
commit3ec600364f201f36f4339261b9399681aa058323 (patch)
tree25b8dd815fd3240cf2b43fd81618674f779e7a81
parentb8773c1cac95bb7b72ec6e31fff489bdf1fae102 (diff)
parent6162e78a53dcd9b1bb315820a99cdb1e0358d558 (diff)
downloadpangemma-3ec600364f201f36f4339261b9399681aa058323.tar.gz
Merge pull request #47 from Millak/master
Add NO_INTEL_COMPAT flag to Makefile.
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5bb8748..712b1ad 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@
 SYS = LNX
 # Leave blank after "=" to disable; put "= 1" to enable
 WITH_LAPACK = 1
+NO_INTEL_COMPAT = 
 FORCE_32BIT = 
 FORCE_DYNAMIC = 
 DIST_NAME = gemma-0.96
@@ -64,10 +65,13 @@ endif
   HDR += $(SRC_DIR)/lapack.h
 endif
 
-ifdef FORCE_32BIT
-  CPPFLAGS += -m32
-else
-  CPPFLAGS += -m64
+ifdef NO_INTEL_COMPAT
+  else
+  ifdef FORCE_32BIT
+    CPPFLAGS += -m32
+  else
+    CPPFLAGS += -m64
+  endif
 endif
 
 ifdef FORCE_DYNAMIC