Define _GNU_SOURCE to fix compilation with new glibc/gcc
This commit is contained in:
parent
386e64b328
commit
0f47a79534
@ -229,7 +229,7 @@ if pkg-config openssl ; then
|
||||
LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||
fi
|
||||
CPPFLAGS="-I${dbdir}/include $OPENSSL_CPPFLAGS" ; export CPPFLAGS
|
||||
CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
|
||||
CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC -D_GNU_SOURCE"; export CFLAGS
|
||||
LDFLAGS="-L${dbdir}/%{_lib} $OPENSSL_LDFLAGS" ; export LDFLAGS
|
||||
LD_LIBRARY_PATH=${dbdir}/%{_lib}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user