forked from OSchip/llvm-project
Tweak clang_darwin config to strip off any -arch if the user overrides CC, we do
this during an Apple style build. llvm-svn: 94216
This commit is contained in:
parent
23e43dbba1
commit
f99eaa948d
|
@ -22,6 +22,10 @@ UniversalArchs.armv6 := armv6
|
|||
|
||||
CC := gcc
|
||||
|
||||
# Forcibly strip off any -arch, as that totally breaks our universal support.
|
||||
override CC := $(subst -arch ,-arch_,$(CC))
|
||||
override CC := $(patsubst -arch_%,,$(CC))
|
||||
|
||||
CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
|
||||
|
||||
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
|
||||
|
|
Loading…
Reference in New Issue