mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Only run scan-build on one of the clang builds
This commit is contained in:
parent
f17f58705c
commit
ab41267e9f
1 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@ BUILD_DEFAULT="release"
|
||||||
|
|
||||||
cd ${MASTER_DIR}
|
cd ${MASTER_DIR}
|
||||||
|
|
||||||
if [ "$OPTIONS" = "all_options" ];
|
if [ "${OPTIONS}" == "all_options" ];
|
||||||
then
|
then
|
||||||
export USE_CODEC_VORBIS=1
|
export USE_CODEC_VORBIS=1
|
||||||
export USE_FREETYPE=1
|
export USE_FREETYPE=1
|
||||||
|
@ -44,7 +44,8 @@ if [ -n "${CPPCHECK}" ]; then
|
||||||
ln -sf ${CPPCHECK} cppcheck.xml
|
ln -sf ${CPPCHECK} cppcheck.xml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CC}" == "clang" ]; then
|
# Bit of a hack; only run scan-build with clang and all options enabled
|
||||||
|
if [ "${CC}" == "clang" ] && [ "${OPTIONS}" == "all_options" ]; then
|
||||||
MAKE_PREFIX="scan-build"
|
MAKE_PREFIX="scan-build"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue