forked from OSchip/llvm-project
Fix linking and get the build working on OS X
No version of clang installed by XCode, ToT or otherwise recognizes the flag '-no-intel-extensions' and more recent versions error out on it. Prospectively conditionalize the flag behind "icc" to fix the mainline build with clang. llvm-svn: 202030
This commit is contained in:
parent
c5df02fa0d
commit
9a0a20714f
|
@ -411,7 +411,9 @@ ifeq "$(os)" "lrb"
|
|||
endif
|
||||
|
||||
ifeq "$(os)" "mac"
|
||||
ld-flags += -no-intel-extensions
|
||||
ifeq "$(c)" "icc"
|
||||
ld-flags += -no-intel-extensions
|
||||
endif
|
||||
ld-flags += -single_module
|
||||
ld-flags += -current_version $(VERSION).0 -compatibility_version $(VERSION).0
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue