common: add BUILD_{CXX,CPP,FC,LD} flags

This commit is contained in:
Doan Tran Cong Danh 2019-06-10 21:18:23 +07:00 committed by Juan RP
parent 26a8dcb415
commit 37ed8cb67b

View File

@ -453,6 +453,10 @@ setup_pkg() {
export LDFLAGS="$XBPS_LDFLAGS $XBPS_CROSS_LDFLAGS $LDFLAGS"
export BUILD_CC="cc"
export BUILD_CXX="c++"
export BUILD_CPP="cpp"
export BUILD_FC="gfortran"
export BUILD_LD="ld"
export BUILD_CFLAGS="$XBPS_CFLAGS"
export BUILD_CXXFLAGS="$XBPS_CXXFLAGS"
export BUILD_CPPFLAGS="$XBPS_CPPFLAGS"