Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/usr.bin/frontend port this to GCC 4.5.



details:   https://anonhg.NetBSD.org/src/rev/fcdf5e5db009
branches:  trunk
changeset: 766592:fcdf5e5db009
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 28 10:14:41 2011 +0000

description:
port this to GCC 4.5.

diffstat:

 external/gpl3/gcc/usr.bin/frontend/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r c1fb9c89930b -r fcdf5e5db009 external/gpl3/gcc/usr.bin/frontend/Makefile
--- a/external/gpl3/gcc/usr.bin/frontend/Makefile       Tue Jun 28 10:11:04 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/frontend/Makefile       Tue Jun 28 10:14:41 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/06/28 10:14:41 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -7,13 +7,19 @@
 
 LIB=           frontend
 
-SRCS=          gcc.c version.c intl.c prefix.c
+SRCS=          gcc.c version.c intl.c prefix.c opts-common.c
+
+.if ${MACHINE_ARCH} == "x86_64"
+SRCS+=         driver-i386.c
+.PATH:         ${DIST}/gcc/config/i386
+.endif
 
 CPPFLAGS+=     -I${GCCARCH} -I${BACKENDOBJ} -I. \
                ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
                -DPREFIX=\"/usr\" \
                -DDEFAULT_TARGET_VERSION=\"${G_version}\" \
-               -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
+               -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
+               -DCONFIGURE_SPECS="\"\""
 HOST_CPPFLAGS+=        -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 
 DPSRCS+=       specs.h



Home | Main Index | Thread Index | Old Index