xbps-src: respect CFLAGS if $build_style == custom-install.
This commit is contained in:
parent
4583276cfe
commit
0474b11e7b
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ build_src_phase()
|
|||
fi
|
||||
|
||||
if [ "$build_style" = "custom-install" ]; then
|
||||
[ -n "$XBPS_LDFLAGS" ] && export LDFLAGS="$XBPS_LDFLAGS"
|
||||
[ -n "$XBPS_LDFLAGS" ] && export LDFLAGS="$LDFLAGS $XBPS_LDFLAGS"
|
||||
[ -n "$XBPS_CFLAGS" ] && export CFLAGS="$CFLAGS $XBPS_CFLAGS"
|
||||
run_func do_build
|
||||
else
|
||||
run_func do_make_build
|
||||
|
|
Loading…
Reference in a new issue