Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 22:45:47 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r246569 - user/sbruno/pxe_http_head/sys/boot/i386/pxe_http
Message-ID:  <201302082245.r18Mjlj0072025@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@freebsd.org commit to cdboot
  http://svnweb.freebsd.org/base?view=revision&revision=235281
  
  Submitted by:	hiren.panchasara@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/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302082245.r18Mjlj0072025>