SHA256
1
0
forked from pool/openvpn

Accepting request 236695 from network:vpn

1

OBS-URL: https://build.opensuse.org/request/show/236695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvpn?expand=0&rev=56
This commit is contained in:
Stephan Kulow 2014-06-10 12:39:19 +00:00 committed by Git OBS Bridge
commit 865a761652
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

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 \{\} \;
%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