Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3 pass the target specific CPUFLAGS and CPPFLAGS...
details: https://anonhg.NetBSD.org/src/rev/761aa15207b9
branches: trunk
changeset: 355575:761aa15207b9
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Aug 03 22:01:29 2017 +0000
description:
pass the target specific CPUFLAGS and CPPFLAGS for the .c.o rule.
should fix a problem rjs@ reported.
diffstat:
external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile | 4 ++--
external/gpl3/gcc/lib/libgcc/libgcc/Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 2505e0cfbb2e -r 761aa15207b9 external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile Thu Aug 03 22:00:38 2017 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/libgcc/Makefile Thu Aug 03 22:01:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/07/23 01:11:54 mrg Exp $
+# $NetBSD: Makefile,v 1.7 2017/08/03 22:01:29 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -55,7 +55,7 @@
.c.o:
${_MKTARGET_COMPILE}
- ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
+ ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
${NM} -pg ${.TARGET}.tmp1 | \
${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
${CC} ${COPTS} -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
diff -r 2505e0cfbb2e -r 761aa15207b9 external/gpl3/gcc/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Thu Aug 03 22:00:38 2017 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Thu Aug 03 22:01:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2017/03/22 23:11:07 chs Exp $
+# $NetBSD: Makefile,v 1.28 2017/08/03 22:01:30 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -55,7 +55,7 @@
.c.o:
${_MKTARGET_COMPILE}
- ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
+ ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
${NM} -pg ${.TARGET}.tmp1 | \
${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
${CC} ${COPTS} -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
Home |
Main Index |
Thread Index |
Old Index