Needs -fheinous-gnu-extensions when building with Clang
This commit is contained in:
parent
bc69e95f26
commit
b4f1f8d0c4
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile.inc,v 1.20 2010/03/14 00:26:10 mrg Exp $
|
# $NetBSD: Makefile.inc,v 1.21 2011/05/20 21:45:35 joerg Exp $
|
||||||
|
|
||||||
.if ${MKGCC} != "no"
|
.if ${MKGCC} != "no"
|
||||||
.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
|
.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
|
||||||
@ -150,3 +150,5 @@ ${FAKEHEADERS}:
|
|||||||
touch ${.TARGET}
|
touch ${.TARGET}
|
||||||
DPSRCS+= ${FAKEHEADERS}
|
DPSRCS+= ${FAKEHEADERS}
|
||||||
CLEANFILES+= ${FAKEHEADERS}
|
CLEANFILES+= ${FAKEHEADERS}
|
||||||
|
|
||||||
|
COPTS+= ${${ACTIVE_CC} == "clang":?-fheinous-gnu-extensions:}
|
||||||
|
Loading…
Reference in New Issue
Block a user