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