added -ffunction-sections for broken hppa linker.

bumped debian version for release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2002-11-25 13:08:22 +00:00
parent 463318d6e8
commit 0ce85b3d22
3 changed files with 531 additions and 500 deletions

1016
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -3707,11 +3707,19 @@ if test "$GCC" = "yes" ; then
dnl for each subroutine by default -- using the switch below only creates dnl for each subroutine by default -- using the switch below only creates
dnl one entry per file instead at the price of minor performance penalty dnl one entry per file instead at the price of minor performance penalty
dnl dnl
dnl As of wx2.4 a bug in the hppa gcc compiler causes a similar problem
dnl without -ffunction-sections. No idea how long we'll need to maintain
dnl this, or even the extent of gcc/wx version combinations affected, but
dnl also as above, this 'fix' does not come without side effects.
dnl
dnl TODO: test for the gcc version here (how?) dnl TODO: test for the gcc version here (how?)
case "${host}" in case "${host}" in
powerpc*-*-aix* ) powerpc*-*-aix* )
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc" CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
;; ;;
*-hppa* )
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
;;
esac esac
fi fi

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
wxwindows2.3 (2.3.4) unstable; urgency=low
* 2.4.0pre1 I guess.
* Added -ffunction-sections for broken hppa linker. Closes: #162948
-- Ron Lee <ron@debian.org> Mon, 18 Nov 2002 18:54:21 -0800
wxwindows2.3 (2.3.3.2) unstable; urgency=low wxwindows2.3 (2.3.3.2) unstable; urgency=low
* The one more for luck release. * The one more for luck release.