diff options
author | Sam James <sam@gentoo.org> | 2021-04-14 00:29:23 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-14 08:46:33 +0200 |
commit | 420e47c2a082e16c9ac7a793a6f7bc26cb5befc9 (patch) | |
tree | 25986182ba3ddc06428561251889ac4d51d124b2 /media-libs/libpng/libpng-1.6.37-r2.ebuild | |
parent | www-client/seamonkey: Migrate to cpu_flags_arm_neon (diff) | |
download | gentoo-420e47c2a082e16c9ac7a793a6f7bc26cb5befc9.tar.gz gentoo-420e47c2a082e16c9ac7a793a6f7bc26cb5befc9.tar.bz2 gentoo-420e47c2a082e16c9ac7a793a6f7bc26cb5befc9.zip |
media-libs/libpng: fix CPU_FLAGS_ARM_NEON configure argument
* Use more appropriate helper (use_enable)
* Fix configure value given (we need either 'check' or 'api').
API is discouraged (as per configure output) and also unfortunate
for users because it means intrinsics are not used by default.
So, we use 'check'.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/libpng/libpng-1.6.37-r2.ebuild')
-rw-r--r-- | media-libs/libpng/libpng-1.6.37-r2.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media-libs/libpng/libpng-1.6.37-r2.ebuild b/media-libs/libpng/libpng-1.6.37-r2.ebuild index d33afa9ad4bd..9d45e05e51c9 100644 --- a/media-libs/libpng/libpng-1.6.37-r2.ebuild +++ b/media-libs/libpng/libpng-1.6.37-r2.ebuild @@ -32,7 +32,7 @@ multilib_src_configure() { local myeconfargs=( $(use_enable cpu_flags_x86_sse intel-sse) $(use_enable static-libs static) - --enable-arm-neon=$(usex cpu_flags_arm_neon) + $(use_enable cpu_flags_arm_neon arm-neon check) ) ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } |