Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37004 Details for
Bug 59709
ghc-6.2.1-r1.ebuild: -fno-stack-protector option breaks PPC compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix ebuild to build for PPC.
ghc-6.2.1-r1.ebuild.diff (text/plain), 1.23 KB, created by
David Brown
on 2004-08-08 01:22:50 UTC
(
hide
)
Description:
Fix ebuild to build for PPC.
Filename:
MIME Type:
Creator:
David Brown
Created:
2004-08-08 01:22:50 UTC
Size:
1.23 KB
patch
obsolete
>--- ghc-6.2.1-r1.ebuild.orig 2004-08-07 09:14:53.000000000 -0700 >+++ ghc-6.2.1-r1.ebuild 2004-08-07 20:42:33.000000000 -0700 >@@ -74,7 +74,14 @@ > # mangler doesn't accept its output; yes, the 6.2 version > # should do ... > cd ${S} >- bzcat ${FILESDIR}/ghc-6.2.hardened.patch.bz2 | patch -p1 >+ >+ if use ppc >+ then >+ bzcat ${FILESDIR}/ghc-6.2.hardened-ppc.patch.bz2 | patch -p1 >+ else >+ bzcat ${FILESDIR}/ghc-6.2.hardened.patch.bz2 | patch -p1 >+ fi >+ > pushd ghc/compiler/ghci > bzcat ${FILESDIR}/ghc-6.2.1-linker.patch.bz2 | patch -p0 > popd >@@ -91,8 +98,14 @@ > # (this is still necessary, even though we have the patch, because > # we might be bootstrapping from a version that didn't have the > # patch included) >- echo "SRC_CC_OPTS+=-fno-pic -fno-stack-protector" >> mk/build.mk >- echo "SRC_HC_OPTS+=-optc-fno-pic -optc-fno-stack-protector" >> mk/build.mk >+ if use ppc; >+ then >+ echo "SRC_CC_OPTS+=-fno-pic" >> mk/build.mk >+ echo "SRC_HC_OPTS+=-optc-fno-pic" >> mk/build.mk >+ else >+ echo "SRC_CC_OPTS+=-fno-pic -fno-stack-protector" >> mk/build.mk >+ echo "SRC_HC_OPTS+=-optc-fno-pic -optc-fno-stack-protector" >> mk/build.mk >+ fi > > # force the config variable ArSupportsInput to be unset; > # ar in binutils >= 2.14.90.0.8-r1 seems to be classified
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59709
:
37004
|
37005
|
40366
|
40402
|
40403
|
42158
|
42190