diff options
author | Eric Hameleers <alien@slackware.com> | 2013-04-28 22:21:34 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-04-28 22:21:34 +0000 |
commit | d720bd3e1ad446ec21fb75d4726bee6a2d35540f (patch) | |
tree | 6f504efebb096044608b2d68c6cd5be1b95b4854 /current | |
parent | 9ff544e5c45a1069ba9b29116227a4e9068123e7 (diff) | |
download | multilib-d720bd3e1ad446ec21fb75d4726bee6a2d35540f.tar.gz multilib-d720bd3e1ad446ec21fb75d4726bee6a2d35540f.tar.xz |
Fix register clobber that was breaking WINE with -O2 optimization
Diffstat (limited to 'current')
-rwxr-xr-x | current/gcc/gcc-multilib.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/current/gcc/gcc-multilib.SlackBuild b/current/gcc/gcc-multilib.SlackBuild index 59bd286..40ca007 100755 --- a/current/gcc/gcc-multilib.SlackBuild +++ b/current/gcc/gcc-multilib.SlackBuild @@ -46,7 +46,7 @@ PKGNAM=gcc VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2alien} +BUILD=${BUILD:-3alien} # How many jobs to run in parallel: NUMJOBS=" -j7 " @@ -154,7 +154,10 @@ tar xvf $CWD/gcc-$VERSION.tar.?z* ( cd gcc-$VERSION # Restore target headers that were dropped (accidentally?) in gcc-4.8.0: zcat $CWD/gcc.target_h.diff.gz | patch -p1 --verbose || exit 1 -) + # Fix register clobber that was breaking WINE with -O2 optimization + # (and probably affected other code as well): + zcat $CWD/regcprop.fixo2.diff.gz | patch -p2 --verbose || exit 1 +) || exit 1 # Copy ecj.jar into the TLD of the source. Needed for java compiler. # This can be retrieved from ftp://sourceware.org/pub/java |