On Wed, Jun 29, 2022 at 3:15 AM Luya Tshimbalanga <luya@fedoraproject.org> wrote:Hello team, What is the way to disable `-mss2 for aarch64 build in embree?I think you mean msse2, the build should be using the distro default C flags for builds so it shouldn't be an issue, if you fix the build to use the proper distro flags the problem should go away. Details in the docs: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
Which is strange as the used flag is `%{optflags} -Wl,--as-needed`as listed on the attached spec file.
Extract:
export CXXFLAGS="%{optflags} -Wl,--as-needed"
The issue currently affects the new version of embree.
--
Luya Tshimbalanga Fedora Design Team Fedora Design Suite maintainer