diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2022-02-17 20:00:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-18 02:37:12 +0000 |
commit | 2bfff0fd6e8711c40e1faf3e203a79b24c1e0e76 (patch) | |
tree | 5a49fdc21ab1c60de79d40ea5cfa9b22e4602a63 /media-libs/embree/embree-3.13.0-r2.ebuild | |
parent | media-libs/embree: Remove static-lib useflag (diff) | |
download | gentoo-2bfff0fd6e8711c40e1faf3e203a79b24c1e0e76.tar.gz gentoo-2bfff0fd6e8711c40e1faf3e203a79b24c1e0e76.tar.bz2 gentoo-2bfff0fd6e8711c40e1faf3e203a79b24c1e0e76.zip |
media-libs/embree: Filter out more compile flags
Embree will fail building if we pass CPU specific useflags.
This is because Embree builds multiple modules so it can autodetect the
CPU instruction set to use at runtime.
Closes: https://bugs.gentoo.org/828659
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/embree/embree-3.13.0-r2.ebuild')
-rw-r--r-- | media-libs/embree/embree-3.13.0-r2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media-libs/embree/embree-3.13.0-r2.ebuild b/media-libs/embree/embree-3.13.0-r2.ebuild index 8c864d288c9c..f72392a0812c 100644 --- a/media-libs/embree/embree-3.13.0-r2.ebuild +++ b/media-libs/embree/embree-3.13.0-r2.ebuild @@ -56,13 +56,13 @@ src_prepare() { src_configure() { # NOTE: You can make embree accept custom CXXFLAGS by turning off # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use - # any "march" compile flags. This is because embree builds modules for the + # any "m*" compile flags. This is because embree builds modules for the # different supported ISAs and picks the correct one at runtime. - # "march" will pull in cpu instructions that shouldn't be in specific modules + # "m*" will pull in cpu instructions that shouldn't be in specific modules # and it fails to link properly. # https://github.com/embree/embree/issues/115 - filter-flags -march=* + filter-flags -m* local mycmakeargs=( # Currently Intel only host their test files on their internal network. |