Disable build with clang since it ends up calling __floatuntixf, which
this version of libgcc doesn't have.
This commit is contained in:
parent
ea5a6926a5
commit
a5a3799cb4
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile.inc,v 1.22 2011/05/30 14:41:26 joerg Exp $
|
# $NetBSD: Makefile.inc,v 1.23 2011/05/30 19:03:09 joerg Exp $
|
||||||
|
|
||||||
.if ${MKGCC} != "no"
|
.if ${MKGCC} != "no"
|
||||||
.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
|
.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
|
||||||
@ -6,6 +6,8 @@
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
UNSUPPORTED_COMPILER.clang= # defined
|
||||||
|
|
||||||
DIST= ${NETBSDSRCDIR}/gnu/dist/gcc4
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gcc4
|
||||||
GNUHOSTDIST= ${DIST}
|
GNUHOSTDIST= ${DIST}
|
||||||
GCCARCH= ${NETBSDSRCDIR}/gnu/usr.bin/gcc4/arch/${MACHINE_ARCH}
|
GCCARCH= ${NETBSDSRCDIR}/gnu/usr.bin/gcc4/arch/${MACHINE_ARCH}
|
||||||
@ -150,6 +152,3 @@ ${FAKEHEADERS}:
|
|||||||
touch ${.TARGET}
|
touch ${.TARGET}
|
||||||
DPSRCS+= ${FAKEHEADERS}
|
DPSRCS+= ${FAKEHEADERS}
|
||||||
CLEANFILES+= ${FAKEHEADERS}
|
CLEANFILES+= ${FAKEHEADERS}
|
||||||
|
|
||||||
COPTS+= ${${ACTIVE_CC} == "clang":?-fheinous-gnu-extensions:}
|
|
||||||
NOCLANGERROR= # defined
|
|
||||||
|
Loading…
Reference in New Issue
Block a user