diff --git a/openvpn.changes b/openvpn.changes index 7867549..124062c 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 08:43:33 UTC 2015 - mt@suse.com + +- Removed obsolete --with-lzo-headers option, readded LFS_CFLAGS. + ------------------------------------------------------------------- Thu Aug 13 08:29:35 UTC 2015 - idonmez@suse.com diff --git a/openvpn.spec b/openvpn.spec index 6e10b0c..1179b8b 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -153,8 +153,7 @@ export LDFLAGS --enable-plugins \ --enable-plugin-down-root \ --enable-plugin-auth-pam \ - --with-lzo-headers=%_includedir/lzo \ - CFLAGS="$CFLAGS -fPIE $PLUGIN_DEFS" \ + CFLAGS="$CFLAGS $(getconf LFS_CFLAGS) -fPIE $PLUGIN_DEFS" \ LDFLAGS="$LDFLAGS -pie -lpam -rdynamic -Wl,-rpath,%{_libdir}/%{name}/plugins" make