From: Camm Maguire Date: Sun, 23 Aug 2020 17:53:14 +0000 (+0100) Subject: X-Git-Tag: archive/raspbian/2.6.12-96+rpi1^2~82 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fa5d6f31c0c69b54dad632119c23b53e8d0320a7;p=gcl.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 a0b79b10..7a1405be 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 0a285c3f..1e902172 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