svn commit: r243452 - stable/9/sys/conf

Takahashi Yoshihiro nyan at FreeBSD.org
Fri Nov 23 13:55:39 UTC 2012


Author: nyan
Date: Fri Nov 23 13:55:38 2012
New Revision: 243452
URL: http://svnweb.freebsd.org/changeset/base/243452

Log:
  MFC: r242870
  
    Fix build mpboot.s with clang.

Modified:
  stable/9/sys/conf/Makefile.pc98
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/conf/   (props changed)

Modified: stable/9/sys/conf/Makefile.pc98
==============================================================================
--- stable/9/sys/conf/Makefile.pc98	Fri Nov 23 13:47:41 2012	(r243451)
+++ stable/9/sys/conf/Makefile.pc98	Fri Nov 23 13:55:38 2012	(r243452)
@@ -34,6 +34,10 @@ MACHINE=pc98
 
 MKMODULESENV+=	MACHINE=${MACHINE}
 
+# XXX: clang integrated-as doesn't grok .codeNN directives yet
+ASM_CFLAGS.mpboot.s=		${CLANG_NO_IAS}
+ASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
+
 %BEFORE_DEPEND
 
 %OBJS


More information about the svn-src-stable mailing list