Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/crtstuff actually pass $COPTS to the c...



details:   https://anonhg.NetBSD.org/src/rev/e254897e21b5
branches:  trunk
changeset: 771755:e254897e21b5
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Dec 02 22:28:47 2011 +0000

description:
actually pass $COPTS to the compiler
ok mrg@

diffstat:

 external/gpl3/gcc/lib/crtstuff/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9dcc4315e000 -r e254897e21b5 external/gpl3/gcc/lib/crtstuff/Makefile
--- a/external/gpl3/gcc/lib/crtstuff/Makefile   Fri Dec 02 18:07:26 2011 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/Makefile   Fri Dec 02 22:28:47 2011 +0000
@@ -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 @@
 # 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")



Home | Main Index | Thread Index | Old Index