diff options
Diffstat (limited to 'media-video/x264-encoder/x264-encoder-9999.ebuild')
-rw-r--r-- | media-video/x264-encoder/x264-encoder-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media-video/x264-encoder/x264-encoder-9999.ebuild b/media-video/x264-encoder/x264-encoder-9999.ebuild index 18dccd367cb0..13b167268ffb 100644 --- a/media-video/x264-encoder/x264-encoder-9999.ebuild +++ b/media-video/x264-encoder/x264-encoder-9999.ebuild @@ -42,6 +42,12 @@ PATCHES=( "${FILESDIR}/gpac.patch" ) src_configure() { tc-export CC + if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then + export AS="nasm" + else + export AS="${CC}" + fi + # let upstream pick the optimization level by default use custom-cflags || filter-flags -O? |