From 085a9f0822771d56893ad240e74a0cb37f18b42f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 3 Mar 2014 20:01:25 +0100 Subject: make -separate-debug-info configure tests sane as the option needs to be explicitly requested, just error out when objcopy is bad. also, disabling it after performing the test successfully isn't a very clever thing to do. hpux is dead anyway, so just remove that logic. Change-Id: I923a3912fc29da646c492c27aa29091ffeb2e42d Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Thiago Macieira --- configure | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/configure b/configure index 69b6b3ece1..7f720fe2e8 100755 --- a/configure +++ b/configure @@ -3449,17 +3449,9 @@ if [ "$CFG_SEPARATE_DEBUG_INFO" = "yes" ]; then TEST_OBJCOPY=`getXQMakeConf QMAKE_OBJCOPY` COMPILER_WITH_FLAGS="$TEST_COMPILER $TEST_COMPILER_CXXFLAGS" if "$unixtests/objcopy.test" "$COMPILER_WITH_FLAGS" "$TEST_OBJCOPY" "$OPT_VERBOSE"; then - CFG_SEPARATE_DEBUG_INFO=no - else - case "$PLATFORM" in - hpux-*) - # binutils on HP-UX is buggy; default to no. - CFG_SEPARATE_DEBUG_INFO=no - ;; - *) - CFG_SEPARATE_DEBUG_INFO=yes - ;; - esac + echo "ERROR: -separate-debug-info was requested but this binutils does not support it." + echo "Re-run configure with -v for more information" + exit 1 fi fi -- cgit v1.2.3