build-style: scons: add lowercase compiler variable
This commit is contained in:
parent
2f37e8d0df
commit
368a1e571d
|
@ -5,7 +5,10 @@ do_build() {
|
||||||
: ${make_cmd:=scons}
|
: ${make_cmd:=scons}
|
||||||
|
|
||||||
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
||||||
|
cc=$CC cxx=$CXX ccflags="$CFLAGS" \
|
||||||
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
||||||
|
cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" \
|
||||||
|
RANLIB="$RANLIB" ranlib="$RANLIB" \
|
||||||
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
||||||
${make_build_args} ${make_build_target}
|
${make_build_args} ${make_build_target}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +17,10 @@ do_install() {
|
||||||
: ${make_install_target:=install}
|
: ${make_install_target:=install}
|
||||||
|
|
||||||
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
||||||
|
cc=$CC cxx=$CXX ccflags="$CFLAGS" \
|
||||||
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
||||||
|
cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" \
|
||||||
|
RANLIB="$RANLIB" ranlib="$RANLIB" \
|
||||||
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
|
||||||
${make_install_args} ${make_install_target}
|
${make_install_args} ${make_install_target}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue