Author: dim
Date: Mon Jun  4 20:36:11 2012
New Revision: 236578
URL: http://svn.freebsd.org/changeset/base/236578

Log:
  Fix build of aicasm when CC=clang.  This was due to a side-effect of the
  EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when
  building this particular program.  However, with clang 3.1 and -Werror,
  such unused argument warnings are flagged as errors, causing buildkernel
  to fail at this stage, due to the -nostdinc flag passed during linking.
  Since the -nostdinc flag isn't actually needed, just remove it.
  
  X-MFC-With:   r236528

Modified:
  head/sys/dev/aic7xxx/aicasm/Makefile

Modified: head/sys/dev/aic7xxx/aicasm/Makefile
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/Makefile        Mon Jun  4 19:09:14 2012        
(r236577)
+++ head/sys/dev/aic7xxx/aicasm/Makefile        Mon Jun  4 20:36:11 2012        
(r236578)
@@ -24,8 +24,7 @@ WARNS?=       5
 DEPENDFILE=    .depend_aicasm
 .endif
 
-NOSTDINC=      -nostdinc
-CFLAGS+= ${NOSTDINC} -I/usr/include -I.
+CFLAGS+= -I.
 .ifdef MAKESRCPATH
 CFLAGS+= -I${MAKESRCPATH}
 .endif
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to