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
This commit is contained in:
Marius Tomaschewski 2014-06-10 02:55:45 +00:00 committed by Git OBS Bridge
parent 0943a7a494
commit 5eff630ee5
2 changed files with 7 additions and 2 deletions

View File

@ -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 Sun May 11 07:58:52 UTC 2014 - coolo@suse.com

View File

@ -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 \{\} \; find contrib sample -type f -exec chmod a-x \{\} \;
%build %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 export LDFLAGS
%configure \ %configure \
--enable-iproute2 \ --enable-iproute2 \
@ -148,7 +148,7 @@ export LDFLAGS
--enable-plugin-down-root \ --enable-plugin-down-root \
--enable-plugin-auth-pam \ --enable-plugin-auth-pam \
--with-lzo-headers=%_includedir/lzo \ --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" LDFLAGS="$LDFLAGS -pie -lpam -rdynamic -Wl,-rpath,%{_libdir}/%{name}/plugin/lib"
make make