From 104d8f075c3541117d6c695655f5c170405ccedb Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 Subject: [PATCH] TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-30) unstable; urgency=medium * Version_2_6_13pre38 Gbp-Pq: Name Version_2_6_13pre39 --- configure | 5 ++++- configure.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a0b79b1..7a1405b 100755 --- a/configure +++ b/configure @@ -4379,7 +4379,10 @@ $as_echo "Reducing optimization on profiling arm build to workaround gcc bug" >& enable_debug=yes;; esac TCFLAGS="$TCFLAGS -pg"; - TLIBS="$TLIBS -pg"; + case $use in + s390*) ;; # relocation truncation bug in gcc + *) TLIBS="$TLIBS -pg";; + esac TFPFLAG="" $as_echo "#define GCL_GPROF 1" >>confdefs.h diff --git a/configure.in b/configure.in index 0a285c3..1e90217 100644 --- a/configure.in +++ b/configure.in @@ -587,7 +587,10 @@ if test "$enable_gprof" = "yes" ; then enable_debug=yes;; esac TCFLAGS="$TCFLAGS -pg"; - TLIBS="$TLIBS -pg"; + case $use in + s390*) ;; # relocation truncation bug in gcc + *) TLIBS="$TLIBS -pg";; + esac TFPFLAG="" AC_DEFINE(GCL_GPROF,1,[use gprof profiling]) else -- 2.30.2