summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-08-19 12:38:22 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-08-19 12:38:22 +0000
commitc29386b786ef4c54bae796fba004941085329a4c (patch)
tree471a3798a1046384d7d9336249730c580995409c /sys/arch
parent6b2cefd55878eb867e79fd6da18cae6752b1c77e (diff)
Use --warn-common when linking.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index 53fd4e2d645..7a10a17ce5a 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.43 2017/08/19 12:34:41 visa Exp $
+# $OpenBSD: Makefile.octeon,v 1.44 2017/08/19 12:38:21 visa Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -48,7 +48,7 @@ DEBUG?= -g
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -e start -T ld.script -Ttext=${LINK_ADDRESS} -nopie
+LINKFLAGS= -e start -T ld.script -Ttext=${LINK_ADDRESS} --warn-common -nopie
STRIPFLAGS= -g -x
.if ${IDENT:M-DDDB_STRUCT}