summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-08-19 17:30:03 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-08-19 17:30:03 +0200
commit1898c5396e8e2d36386716cac2d5971ce4a4d8b0 (patch)
tree7a84d3f76dcb0e106380dc6fb2d5e1ce37bd663f /configure
parentb775d0bff25efa0c2ba01f54cfb5bccbad3b99f3 (diff)
build: Don't strip generated binaries
Except for some minor saving in disk space, stripping the binaries doesn't bring any benefits and it might prevent us from getting usable debugging information even from binaries build with DEBUG not set. Most distributions will strip the binaries as part of their packaging process anyhow. If someone really wants stripped binaries as a result of the netsniff-ng build, they could still add '-s' to CFLAGS or call strip manually. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 0 insertions, 11 deletions
diff --git a/configure b/configure
index 30ad368..8956f0f 100755
--- a/configure
+++ b/configure
@@ -22,7 +22,6 @@ HAVE_TPACKET3=0
[ -z "$CC" ] && CC="${CROSS_COMPILE}gcc"
[ -z "$LD" ] && LD="${CROSS_COMPILE}gcc"
-[ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip"
if [ "x$SYSROOT" != "x" ] ; then
PKG_CONFIG_PATH="$SYSROOT/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
@@ -85,16 +84,6 @@ check_toolchain()
echo "PKG_CONFIG=$PKG_CONFIG" >> Config
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> Config
fi
-
- echo -n "[*] Checking $STRIP ... "
- if [ "x$(which $STRIP 2>> config.log)" == "x" ] ; then
- echo "[NO]"
- MISSING_TOOLCHAIN=1
- else
- echo "[YES]"
- echo "STRIP=$STRIP" >> Config
- fi
-
}
check_flex()