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:
@@ -3707,11 +3707,19 @@ if test "$GCC" = "yes" ; then
|
||||
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
|
||||
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?)
|
||||
case "${host}" in
|
||||
powerpc*-*-aix* )
|
||||
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
|
||||
;;
|
||||
*-hppa* )
|
||||
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -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
|
||||
|
||||
* The one more for luck release.
|
||||
|
Reference in New Issue
Block a user