Thu Oct 6 02:58:32 2016 UTC ()
fix ssp build on amigappc


(christos)
diff -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/common-target/Makefile

cvs diff -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/common-target/Makefile (expand / switch to unified diff)

--- src/external/gpl3/gcc/usr.bin/common-target/Makefile 2014/05/31 22:55:17 1.4
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile 2016/10/06 02:58:32 1.5
@@ -1,36 +1,37 @@ @@ -1,36 +1,37 @@
1# $NetBSD: Makefile,v 1.4 2014/05/31 22:55:17 mrg Exp $ 1# $NetBSD: Makefile,v 1.5 2016/10/06 02:58:32 christos Exp $
2 2
3LIBISPRIVATE= yes 3LIBISPRIVATE= yes
4 4
5# For ../Makefile.inc and bsd.own.mk 5# For ../Makefile.inc and bsd.own.mk
6.include <bsd.init.mk> 6.include <bsd.init.mk>
7 7
8LIB= common-target 8LIB= common-target
9 9
10SRCS= prefix.c params.c opts.c opts-common.c options.c vec.c \ 10SRCS= prefix.c params.c opts.c opts-common.c options.c vec.c \
11 hooks.c common-targhooks.c hash-table.c file-find.c \ 11 hooks.c common-targhooks.c hash-table.c file-find.c \
12 ${G_common_out_file:T} 12 ${G_common_out_file:T}
13 13
14CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \ 14CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \
15 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ 15 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
16 -DPREFIX=\"/usr\" \ 16 -DPREFIX=\"/usr\" \
17 -DDEFAULT_TARGET_VERSION=\"${G_version}\" \ 17 -DDEFAULT_TARGET_VERSION=\"${G_version}\" \
18 -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \ 18 -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
19 -DCONFIGURE_SPECS="\"\"" \ 19 -DCONFIGURE_SPECS="\"\"" \
20 -I${BACKENDOBJ} 20 -I${BACKENDOBJ}
21 21
22COPTS.prefix.c= -Wno-stack-protector 22COPTS.prefix.c+= -Wno-stack-protector
23COPTS.opts-common.c= -Wno-stack-protector 23COPTS.opts-common.c+= -Wno-stack-protector
 24COPTS.rs6000-common.c+= -Wno-stack-protector
24 25
25GENPROG_ERROR_DEPENDS=errors.lo 26GENPROG_ERROR_DEPENDS=errors.lo
26 27
27.include "../Makefile.options" 28.include "../Makefile.options"
28.include "../../Makefile.hooks" 29.include "../../Makefile.hooks"
29 30
30${SRCS}: ${GCCARCH}/defs.mk 31${SRCS}: ${GCCARCH}/defs.mk
31 32
32${G_common_out_file:T:R}.o: common/common-target-hooks-def.h 33${G_common_out_file:T:R}.o: common/common-target-hooks-def.h
33 34
34DPSRCS+= options.h 35DPSRCS+= options.h
35 36
36HOST_CPPFLAGS+= -I${BACKENDOBJ} -I${GCCARCH} -I. -I${DIST}/include -I${DIST}/gcc 37HOST_CPPFLAGS+= -I${BACKENDOBJ} -I${GCCARCH} -I. -I${DIST}/include -I${DIST}/gcc