diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-01 23:49:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-01 23:49:24 +0000 |
commit | e8e5dccd913b8a525ed8e1e2653f46963337d7f2 (patch) | |
tree | 932d55345dc391dcab1070f76ea00bc775e9632d /sys/arch/i386 | |
parent | 79c8748a119dec8a5336fba03a8c320f96062ec8 (diff) |
use --warn-common for linking (some arch's will show new warnings), and
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils
strip(1) can handle them too)
ok drahn; miod kettenis (for parts)
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 5dc5e8c0794..c9b2c5525e1 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.75 2010/05/28 14:27:08 guenther Exp $ +# $OpenBSD: Makefile.i386,v 1.76 2010/06/01 23:49:22 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -40,7 +40,6 @@ COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS} LINKFLAGS= -Ttext 0xD0200120 -e start -N --warn-common -STRIPFLAGS= -g -x .if ${MACHINE} == "amd64" CFLAGS+= -m32 @@ -84,6 +83,7 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X +STRIPFLAGS= -g -x SYSTEM_LD_TAIL+=; \ echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ |