Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 152953 Details for
Bug 194681
app-emulation/qemu-softmmu-0.9.0 fails to compile with gcc-3.4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Accept HACK_CFLAGS variable
hack_cflags.patch (text/plain), 958 bytes, created by
Martin von Gagern
on 2008-05-12 14:57:42 UTC
(
hide
)
Description:
Accept HACK_CFLAGS variable
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2008-05-12 14:57:42 UTC
Size:
958 bytes
patch
obsolete
>Allow more control over cflags in order to address this issue: >https://bugs.gentoo.org/show_bug.cgi?id=194681 > >--- /usr/portage/app-emulation/qemu-softmmu/qemu-softmmu-0.9.1-r1.ebuild.orig 2008-05-12 16:40:58.000000000 +0200 >+++ /usr/portage/app-emulation/qemu-softmmu/qemu-softmmu-0.9.1-r1.ebuild 2008-05-12 16:14:32.000000000 +0200 >@@ -48,6 +48,7 @@ src_unpack() { > # Alter target makefiles to accept CFLAGS set via flag-o. > sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ > Makefile Makefile.target tests/Makefile >+ sed -i 's/^OP_CFLAGS *:= */OP_CFLAGS:=$(HACK_CFLAGS) /' Makefile.target > # Ensure mprotect restrictions are relaxed for emulator binaries > [[ -x /sbin/paxctl ]] && \ > sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ >@@ -61,6 +62,7 @@ src_unpack() { > src_compile() { > #Let the application set its cflags > unset CFLAGS >+ export CFLAGS="${HACK_CFLAGS}" > > # Switch off hardened tech > filter-flags -fpie -fstack-protector
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 194681
:
132525
| 152953