svn commit: r246569 - user/sbruno/pxe_http_head/sys/boot/i386/pxe_http

Sean Bruno sbruno at FreeBSD.org
Fri Feb 8 22:45:48 UTC 2013


Author: sbruno
Date: Fri Feb  8 22:45:47 2013
New Revision: 246569
URL: http://svnweb.freebsd.org/changeset/base/246569

Log:
  Add workaround for the last of .codeNN directives in CLANG
  
  Ripped off of and inspired by dim at freebsd.org commit to cdboot
  http://svnweb.freebsd.org/base?view=revision&revision=235281
  
  Submitted by:	hiren.panchasara at gmail.com

Modified:
  user/sbruno/pxe_http_head/sys/boot/i386/pxe_http/Makefile

Modified: user/sbruno/pxe_http_head/sys/boot/i386/pxe_http/Makefile
==============================================================================
--- user/sbruno/pxe_http_head/sys/boot/i386/pxe_http/Makefile	Fri Feb  8 22:41:48 2013	(r246568)
+++ user/sbruno/pxe_http_head/sys/boot/i386/pxe_http/Makefile	Fri Feb  8 22:45:47 2013	(r246569)
@@ -1,5 +1,7 @@
 # pxe_http project
 #
+.include	<bsd.prog.mk>
+
 LIB=		pxe_http
 INTERNALLIB=
 
@@ -11,6 +13,10 @@ SRCS=	pxe_isr.S pxe_mem.c pxe_buffer.c p
 CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
 		-I${.CURDIR}/../../../contrib/dev/acpica \
 		-I${.CURDIR}/../../.. -I. -I$(.CURDIR)/.. -I${.CURDIR}/../libi386/
+
+CFLAGS.pxe_isr.S=	${CLANG_NO_IAS}
+CFLAGS+=                ${CFLAGS.${.IMPSRC:T}}
+
 # the location of libstand
 CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
 


More information about the svn-src-user mailing list