diff --git a/sssd.spec b/sssd.spec index 0494d13..1e870c0 100644 --- a/sssd.spec +++ b/sssd.spec @@ -346,7 +346,7 @@ export LDB_DIR="$(pkg-config ldb --variable=modulesdir)" export PATH="$PATH:/usr/sbin" autoreconf -fiv; -export CFLAGS="$RPM_OPT_FLAGS -fPIE" +export CFLAGS="%optflags -fPIE" export LDFLAGS="-pie" %configure \ --with-crypto=libcrypto \