From 558e8eaf2f7a2b286d9d916c2a83bd1d48fa0001f45a102acb32840b88bd96c5 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Thu, 20 Aug 2015 09:00:14 +0000 Subject: [PATCH] - Removed obsolete --with-lzo-headers option, readded LFS_CFLAGS. OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=98 --- openvpn.changes | 5 +++++ openvpn.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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