From 1761743053b665d3d25c51195ff8e56f2eb2e165 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 10 Jan 2014 19:36:34 -0600 Subject: [PATCH] No longer add -g or -s to LDFLAGS. autoconf handles -g. And "make install-strip" is the approved way to install stripped executables. --- configure.ac | 12 ------------ docs/pending-release-notes | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 77996129..9b7bb49e 100644 --- a/configure.ac +++ b/configure.ac @@ -180,18 +180,6 @@ if test "$GCC" = yes; then LDFLAGS="${LDFLAGS:+$LDFLAGS }-Qunused-arguments" fi -dnl This really shouldn't be necessary. And we really shouldn't add -s. -if test x"$enable_debug" = x"yes"; then - test -z "$LDFLAGS" && LDFLAGS=-g -else - if test -z "$LDFLAGS"; then - case "$build_os" in - darwin*) LDFLAGS= ;; - *) LDFLAGS=-s ;; - esac - fi -fi - dnl This hack turns off assertions by default, assuming dnl that configure still uses this shell variable. Without dnl it, AC_HEADER_ASSERT enables assertions by default. diff --git a/docs/pending-release-notes b/docs/pending-release-notes index 1242e543..b4d3e631 100644 --- a/docs/pending-release-notes +++ b/docs/pending-release-notes @@ -104,6 +104,8 @@ OBSOLETE FEATURES to disable public sequence support has been removed. - Support for the -normalize and -nonormalize switches to the ali(1) and ap(8) commands has been removed. +- "make install" no longer strips executables. Use "make install-strip" + instead. ------------------- DEPRECATED FEATURES -- 2.56.0