From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 (+0000) Subject: X-Git-Tag: archive/raspbian/2.7.1-4+rpi1~2^2^2~109 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=104d8f075c3541117d6c695655f5c170405ccedb;p=gcl27.git 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 --- 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