Author: imp
Date: Thu Jan  1 08:30:32 2015
New Revision: 276497
URL: https://svnweb.freebsd.org/changeset/base/276497

Log:
  Put the conditional back. For the default case it isn't really needed,
  but for the gcc case it still is on i386 and amd64's build of
  sys/boot.
  
  Submited by: dim@

Modified:
  head/share/mk/bsd.sys.mk

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk    Thu Jan  1 08:18:08 2015        (r276496)
+++ head/share/mk/bsd.sys.mk    Thu Jan  1 08:30:32 2015        (r276497)
@@ -110,7 +110,13 @@ CWARNFLAGS+=       -Wno-format
 CWARNFLAGS+=   -Wno-unknown-pragmas
 .endif # IGNORE_PRAGMA
 
+# We need this conditional because many places that use it
+# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.
+# unconditionally, and can't easily use the CFLAGS.clang=
+# mechanism.
+.if ${COMPILER_TYPE} == "clang"
 CLANG_NO_IAS=   -no-integrated-as
+.endif
 CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\
                 -mllvm -simplifycfg-dup-ret -mllvm -enable-gvn=false
 CFLAGS.clang+=  -Qunused-arguments
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to