xbps-src: added XBPS_LDFLAGS into the configuration file.
This is to specify common LDFLAGS settings for all packages, by default it's set to '-Wl,--as-needed' to avoid linking extra libraries into the binaries. This helped to find such cases.
This commit is contained in:
parent
6387ead759
commit
71e5c38598
5 changed files with 29 additions and 5 deletions
|
@ -265,9 +265,9 @@ set_tmpl_common_vars()
|
|||
|
||||
export CFLAGS="$XBPS_CFLAGS"
|
||||
export CXXFLAGS="$XBPS_CXXFLAGS"
|
||||
export CPPFLAGS="-I$XBPS_MASTERDIR/usr/include"
|
||||
|
||||
if [ -z "$in_chroot" ]; then
|
||||
export CPPFLAGS="-I$XBPS_MASTERDIR/usr/include"
|
||||
if [ -d /usr/lib/libfakeroot ]; then
|
||||
LDLIBPATH="/usr/lib/libfakeroot:$XBPS_MASTERDIR/usr/lib"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue