From 5eff630ee514dadb6efab75ab899f62b2cabc511efa77e165f7d7d160c8e8647 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Tue, 10 Jun 2014 02:55:45 +0000 Subject: [PATCH] Accepting request 235421 from home:elvigia:branches:network:vpn - Build with large file support in 32 bit systems. OBS-URL: https://build.opensuse.org/request/show/235421 OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=77 --- openvpn.changes | 5 +++++ openvpn.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openvpn.changes b/openvpn.changes index deda169..8661caa 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 15:41:34 UTC 2014 - crrodriguez@opensuse.org + +- Build with large file support in 32 bit systems. + ------------------------------------------------------------------- Sun May 11 07:58:52 UTC 2014 - coolo@suse.com diff --git a/openvpn.spec b/openvpn.spec index 1e985f6..b4f29fc 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -135,7 +135,7 @@ sed -e "s|\" __DATE__|$(date '+%b %e %Y' -r version.m4)\"|g" -i src/openvpn/opti find contrib sample -type f -exec chmod a-x \{\} \; %build -export CFLAGS="$RPM_OPT_FLAGS -W -Wall -fno-strict-aliasing" +export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -W -Wall -fno-strict-aliasing" export LDFLAGS %configure \ --enable-iproute2 \ @@ -148,7 +148,7 @@ export LDFLAGS --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}/plugin/lib" make