Source-Changes-HG archive

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

[src/trunk]: src/tools/pcc Disable stripping pcc tool.



details:   https://anonhg.NetBSD.org/src/rev/04bafee5ac36
branches:  trunk
changeset: 344456:04bafee5ac36
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Mar 30 23:36:45 2016 +0000

description:
Disable stripping pcc tool.

We don't have a tool that strips tools -- we have only a tool that
strips target programs.  $TOOLDIR/bin/$PLATFORM-install supports -s
by invoking the target-stripping tool, which chokes if you try to use
it to strip tools on a sufficiently different cross build.  So let's
just not strip the pcc tool -- it's tiny enough that I'm not worried
about its unstripped size!

diffstat:

 tools/pcc/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e76b8ab03097 -r 04bafee5ac36 tools/pcc/Makefile
--- a/tools/pcc/Makefile        Wed Mar 30 21:36:48 2016 +0000
+++ b/tools/pcc/Makefile        Wed Mar 30 23:36:45 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/06/13 12:29:16 plunky Exp $
+# $NetBSD: Makefile,v 1.3 2016/03/30 23:36:45 riastradh Exp $
 
 GNUHOSTDIST=   ${.CURDIR}/../../external/bsd/pcc/dist/pcc
 
@@ -8,6 +8,7 @@
                 CXX=${HOST_CXX:Q}
 
 CONFIGURE_ARGS=                --target=${MACHINE_GNU_PLATFORM}
+CONFIGURE_ARGS+=       --disable-stripping
 CONFIGURE_ARGS+=       --enable-tls
 CONFIGURE_ARGS+=       --includedir=/usr/include
 CONFIGURE_ARGS+=       --with-incdir=/usr/include



Home | Main Index | Thread Index | Old Index