summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2014-04-02 18:35:47 +0000
committerCamm Maguire <camm@debian.org>2014-04-02 18:35:47 +0000
commitb4158e9d3ff29da2800de0a058e31a2aeb0c5318 (patch)
treec60cb9fb8bcb2a610c65406f928bd7338f7e0dbd
parent3e4c0e5c34312a15c827c0dcaa9f8b0c7fd62c40 (diff)
downloadgcl-b4158e9d3ff29da2800de0a058e31a2aeb0c5318.tar.gz
hppa support for symbols in libgcc, gmp version fix to --enable-dyngmp
-rwxr-xr-xgcl/configure4
-rw-r--r--gcl/configure.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcl/configure b/gcl/configure
index 1b4e8148..08bda865 100755
--- a/gcl/configure
+++ b/gcl/configure
@@ -5304,7 +5304,9 @@ case $use in
# m68k*)
# TCFLAGS="$TCFLAGS -ffloat-store";;
hppa*)
-# TCFLAGS="$TCFLAGS -ffunction-sections -march=2.0 " #FIXME
+ TCFLAGS="$TCFLAGS -mlong-calls "
+ TLIBS="$TLIBS -lgcc_s" # workaround hppa __moddi3 local func symbols with default linker flags
+# TCFLAGS="$TCFLAGS -ffunction-sections"
# if test "$enable_debug" != "yes" ; then TO3FLAGS="-O $TFPFLAG" ; fi
# if test "$enable_debug" != "yes" ; then TO2FLAGS="-O" ; fi
;;
diff --git a/gcl/configure.in b/gcl/configure.in
index 95debf3d..92ea9541 100644
--- a/gcl/configure.in
+++ b/gcl/configure.in
@@ -614,7 +614,9 @@ case $use in
# m68k*)
# TCFLAGS="$TCFLAGS -ffloat-store";;
hppa*)
-# TCFLAGS="$TCFLAGS -ffunction-sections -march=2.0 " #FIXME
+ TCFLAGS="$TCFLAGS -mlong-calls "
+ TLIBS="$TLIBS -lgcc_s" # workaround hppa __moddi3 local func symbols with default linker flags
+# TCFLAGS="$TCFLAGS -ffunction-sections"
# if test "$enable_debug" != "yes" ; then TO3FLAGS="-O $TFPFLAG" ; fi
# if test "$enable_debug" != "yes" ; then TO2FLAGS="-O" ; fi
;;