media-video/ffmpeg: set optflags to CFLAGS.
authorAlexis Ballier <aballier@gentoo.org>
Wed, 6 Jan 2016 10:18:15 +0000 (11:18 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 6 Jan 2016 10:18:15 +0000 (11:18 +0100)
Avoids e.g. having -march detection override user settings. Bug #567776.

Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
media-video/ffmpeg/ffmpeg-2.8.4.ebuild
media-video/ffmpeg/ffmpeg-9999.ebuild

index efc3bc99680f500adf96f8b8024617bf56fccc3e..3cb20b46457fed065c3cc6343f2d4093e5b9b588 100644 (file)
@@ -411,7 +411,7 @@ multilib_src_configure() {
                --cc="$(tc-getCC)" \
                --cxx="$(tc-getCXX)" \
                --ar="$(tc-getAR)" \
-               --optflags=" " \
+               --optflags="${CFLAGS}" \
                $(use_enable static-libs static) \
                "${myconf[@]}"
        echo "${@}"
index 2918e4bd7cab92a2a21f2c4b6489fd1b798a2349..ef2f4d1d8b35ee66621f71442470c66302617b88 100644 (file)
@@ -427,7 +427,7 @@ multilib_src_configure() {
                --cc="$(tc-getCC)" \
                --cxx="$(tc-getCXX)" \
                --ar="$(tc-getAR)" \
-               --optflags=" " \
+               --optflags="${CFLAGS}" \
                $(use_enable static-libs static) \
                "${myconf[@]}"
        echo "${@}"