diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-25 19:05:53 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-25 19:05:53 +0100 |
commit | 882c60ab883d6647d986339256ab8b9be77acdba (patch) | |
tree | 84353d75b69e9d3243bee53307f385657efece73 /media-video/vlc/vlc-9999.ebuild | |
parent | media-video/vlc: Drop USE=rdp from 2.2.8 (diff) | |
download | gentoo-882c60ab883d6647d986339256ab8b9be77acdba.tar.gz gentoo-882c60ab883d6647d986339256ab8b9be77acdba.tar.bz2 gentoo-882c60ab883d6647d986339256ab8b9be77acdba.zip |
media-video/vlc: Replace -Os with -O2 for x86
Closes: https://bugs.gentoo.org/569774
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-video/vlc/vlc-9999.ebuild')
-rw-r--r-- | media-video/vlc/vlc-9999.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index be6ba65a29e9..e67e99283315 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -279,8 +279,12 @@ src_configure() { # Compatibility fix for Samba 4. use samba && append-cppflags "-I/usr/include/samba-4.0" - # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 - use x86 && append-cflags $(test-flags-CC -fno-stack-check) + if use x86; then + # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 + append-cflags $(test-flags-CC -fno-stack-check) + # Bug 569774 + replace-flags -Os -O2 + fi # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8 append-cxxflags -std=c++11 |