diff options
author | jkim <jkim@FreeBSD.org> | 2012-03-09 23:30:30 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-03-09 23:30:30 +0000 |
commit | 56a05ae5138b6f5d7fc05fc2aed40e76b2d58213 (patch) | |
tree | d19183e15aa2a4bf7783f8802712d386473c2a98 /share | |
parent | 5ccebb7a339a9e55bec37c77492bb7dca3730508 (diff) | |
download | FreeBSD-src-56a05ae5138b6f5d7fc05fc2aed40e76b2d58213.zip FreeBSD-src-56a05ae5138b6f5d7fc05fc2aed40e76b2d58213.tar.gz |
Make boot2 build with Clang again.
Submitted by: dim (bsd.sys.mk)
Reviewed by: dim, jhb
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.sys.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 401e671..a8770cc7 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -100,8 +100,10 @@ CWARNFLAGS += -Wno-unknown-pragmas .if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang" CLANG_NO_IAS = -no-integrated-as -CLANG_OPT_SMALL = -mllvm -stack-alignment=8 -mllvm -inline-threshold=3 \ - -mllvm -enable-load-pre=false +CLANG_OPT_SMALL = -mllvm -stack-alignment=8 \ + -mllvm -inline-threshold=3 \ + -mllvm -enable-load-pre=false \ + -mllvm -simplifycfg-dup-ret .endif .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ |