From 0dd539c2fc2782e42f61b30381f128de6c640329 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 9 Nov 2006 04:06:51 +0000 Subject: [PATCH] Add COPTS bypass in rules. --- gnu/lib/libgcc4/Makefile.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/lib/libgcc4/Makefile.inc b/gnu/lib/libgcc4/Makefile.inc index e693a49e63dd..a73a5dde8441 100644 --- a/gnu/lib/libgcc4/Makefile.inc +++ b/gnu/lib/libgcc4/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.4 2006/07/06 21:39:44 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.5 2006/11/09 04:06:51 christos Exp $ .if exists(${.CURDIR}/arch/${MACHINE_ARCH}.mk) && ${MKGCC} != "no" .include "${.CURDIR}/arch/${MACHINE_ARCH}.mk" @@ -105,19 +105,19 @@ ${G_LIB2ADD:M${GNUHOSTDIST}/*:T:S/.asm/.S/}: ${.CURDIR}/Makefile ${G_LIB2ADD} ${LIB2_EH:.c=.o}: ${_MKTARGET_COMPILE} - ${COMPILE.c} -fexceptions -o ${.TARGET} ${.IMPSRC} + ${COMPILE.c} -fexceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC} ${LIB2_EH:.c=.so}: ${_MKTARGET_COMPILE} - ${COMPILE.c} ${CPICFLAGS} -fexceptions -o ${.TARGET} ${.IMPSRC} + ${COMPILE.c} ${CPICFLAGS} -fexceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC} ${G_LIB2_DIVMOD_FUNCS:=.o}: ${_MKTARGET_COMPILE} - ${COMPILE.c} -fexceptions -fnon-call-exceptions -o ${.TARGET} ${.IMPSRC} + ${COMPILE.c} -fexceptions -fnon-call-exceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC} ${G_LIB2_DIVMOD_FUNCS:=.so}: ${_MKTARGET_COMPILE} - ${COMPILE.c} ${CPICFLAGS} -fexceptions -fnon-call-exceptions -o ${.TARGET} ${.IMPSRC} + ${COMPILE.c} ${CPICFLAGS} -fexceptions -fnon-call-exceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC} dp-bit.c: ${.CURDIR}/Makefile ${_MKTARGET_CREATE}