use rpm macros instead

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=142
This commit is contained in:
Jan Engelhardt 2015-01-01 23:00:54 +00:00 committed by Git OBS Bridge
parent 86656f23a4
commit 4d2b0a5d01

View File

@ -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 \