diff --git a/libsepol.spec b/libsepol.spec index f9b4951..b76936f 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -55,8 +55,9 @@ sed -i 's/fpic/fPIC/g' src/Makefile %endif %build -make clean -%make_build CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" +%set_build_flags +CFLAGS="$CFLAGS -fno-semantic-interposition" +%make_build %install mkdir -p ${RPM_BUILD_ROOT}/%{_lib} @@ -99,6 +100,7 @@ exit 0 * Mon Jul 13 2020 Tom Stellard - 3.1-2 - Use make macros - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro +- Use set_build_flags and -fno-semantic-interposition * Fri Jul 10 2020 Petr Lautrbach - 3.1-1 - SELinux userspace 3.1 release