Module Name: src
Committed By: macallan
Date: Fri Dec 2 22:28:47 UTC 2011
Modified Files:
src/external/gpl3/gcc/lib/crtstuff: Makefile
Log Message:
actually pass $COPTS to the compiler
ok mrg@
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/crtstuff/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/crtstuff/Makefile
diff -u src/external/gpl3/gcc/lib/crtstuff/Makefile:1.5 src/external/gpl3/gcc/lib/crtstuff/Makefile:1.6
--- src/external/gpl3/gcc/lib/crtstuff/Makefile:1.5 Fri Jul 1 05:07:46 2011
+++ src/external/gpl3/gcc/lib/crtstuff/Makefile Fri Dec 2 22:28:47 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/07/01 05:07:46 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2011/12/02 22:28:47 macallan Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -61,7 +61,7 @@ ${OBJS}: ${DPSRCS}
# Override the default .c -> .o rule.
.c.o:
${_MKTARGET_COMPILE}
- ${CC} ${CPPFLAGS} ${CPPFLAGS.${.TARGET}} ${GCFLAGS} ${CPUFLAGS} -c ${.IMPSRC} -o ${.TARGET}.o
+ ${CC} ${CPPFLAGS} ${CPPFLAGS.${.TARGET}} ${GCFLAGS} ${COPTS} ${COPTS.${.TARGET}} ${CPUFLAGS} -c ${.IMPSRC} -o ${.TARGET}.o
mv ${.TARGET}.o ${.TARGET}
.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")