buildvars: also (un)set CPPFLAGS and LDFLAGS in the chroot.
This commit is contained in:
parent
200a33e3c7
commit
fdd96d947b
|
@ -62,8 +62,8 @@ set_build_vars()
|
|||
unset_build_vars()
|
||||
{
|
||||
if [ -z "$in_chroot" ]; then
|
||||
unset LDFLAGS CPPFLAGS LD_LIBRARY_PATH
|
||||
unset LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH=$SAVE_LDLIBPATH
|
||||
fi
|
||||
unset PKG_CONFIG PKG_CONFIG_LIBDIR CFLAGS CXXFLAGS
|
||||
unset PKG_CONFIG LDFLAGS CPPFLAGS PKG_CONFIG_LIBDIR CFLAGS CXXFLAGS
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue