diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-05 21:22:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-05 21:22:38 +0000 |
commit | aef62771653f48d333f9cd7448a014b7c2b3174b (patch) | |
tree | c448128059a1871c8412cb3c45f0ca09a440beb5 /distrib/alpha/inst-common | |
parent | fbe1b49cd4b1e8798d9f7f905d060a0a90dbd200 (diff) |
Binutils 2.15 require more aggressive stripping for installation media binaries,
if we want to still fit on floppies (binaries carry one extra section now,
which we don't need on installation media).
ok deraadt@
Diffstat (limited to 'distrib/alpha/inst-common')
-rw-r--r-- | distrib/alpha/inst-common/Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/alpha/inst-common/Makefile.inc b/distrib/alpha/inst-common/Makefile.inc index 45410f922b7..be0a3c5f7fc 100644 --- a/distrib/alpha/inst-common/Makefile.inc +++ b/distrib/alpha/inst-common/Makefile.inc @@ -1,5 +1,5 @@ # -# $OpenBSD: Makefile.inc,v 1.6 2002/04/30 03:47:03 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.7 2004/11/05 21:22:37 miod Exp $ # # TOP is assumed to be defined by Makefile including this one. @@ -13,6 +13,7 @@ MOUNT_POINT?= ${TOP}/${BASE}/fs LISTS?= ${.CURDIR}/../common/list CRUNCHCONF?= ${CBIN}.conf MTREE= ${UTILS}/mtree.conf +STRIP= strip ${CRUNCHCONF}: ${LISTS} awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf @@ -22,6 +23,7 @@ ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c make -f ${CBIN}.mk all + ${STRIP} -R .eh_frame ${CBIN} do_files: mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u |