summaryrefslogtreecommitdiff
path: root/Makefile.system
diff options
context:
space:
mode:
authorwernsaar <wernsaar@googlemail.com>2014-08-26 17:36:32 +0200
committerwernsaar <wernsaar@googlemail.com>2014-08-26 17:36:32 +0200
commit84badf80866d300eecdb62f49689df1b6ca2ccd7 (patch)
tree1746836cebd7d64cd3a6609849f5965611e44d19 /Makefile.system
parent3885eebdb82787b452b532e6cb7a23d9711a514e (diff)
downloadopenblas-84badf80866d300eecdb62f49689df1b6ca2ccd7.tar.gz
openblas-84badf80866d300eecdb62f49689df1b6ca2ccd7.tar.bz2
openblas-84badf80866d300eecdb62f49689df1b6ca2ccd7.zip
EXPERIMENTAL: added the flag -no-integrated-as for clang compiler in Makefile.system
Diffstat (limited to 'Makefile.system')
-rw-r--r--Makefile.system8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.system b/Makefile.system
index ccde8e9ce..385ad47c3 100644
--- a/Makefile.system
+++ b/Makefile.system
@@ -339,7 +339,7 @@ FCOMMON_OPT += -m128bit-long-double
endif
ifeq ($(C_COMPILER), CLANG)
EXPRECISION = 1
-CCOMMON_OPT += -DEXPRECISION
+CCOMMON_OPT += -DEXPRECISION
FCOMMON_OPT += -m128bit-long-double
endif
endif
@@ -350,6 +350,12 @@ ifeq ($(C_COMPILER), INTEL)
CCOMMON_OPT += -wd981
endif
+ifeq ($(ARCH), x86_64)
+ifeq ($(C_COMPILER), CLANG)
+CCOMMON_OPT += -no-integrated-as
+endif
+endif
+
ifeq ($(USE_OPENMP), 1)
# ifeq logical or. GCC or LSB
ifeq ($(C_COMPILER), $(filter $(C_COMPILER),GCC LSB))