build-style: scons: add lowercase compiler variable

This commit is contained in:
Đoàn Trần Công Danh 2020-05-17 19:39:37 +07:00 committed by Jürgen Buchmüller
parent 2f37e8d0df
commit 368a1e571d
1 changed files with 6 additions and 0 deletions

View File

@ -5,7 +5,10 @@ do_build() {
: ${make_cmd:=scons}
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
cc=$CC cxx=$CXX ccflags="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" \
RANLIB="$RANLIB" ranlib="$RANLIB" \
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
${make_build_args} ${make_build_target}
}
@ -14,7 +17,10 @@ do_install() {
: ${make_install_target:=install}
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
cc=$CC cxx=$CXX ccflags="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" \
RANLIB="$RANLIB" ranlib="$RANLIB" \
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
${make_install_args} ${make_install_target}
}