Pass CXX env var through when compiling RGBGFX test binaries

This commit is contained in:
ISSOtm
2024-08-08 20:22:55 +02:00
parent 2a85009b6b
commit b20b2dd28c

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
[[ -e ./rgbgfx_test ]] || make -C ../.. test/gfx/rgbgfx_test Q= || exit
[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen Q= || exit
[[ -e ./rgbgfx_test ]] || make -C ../.. test/gfx/rgbgfx_test Q= ${CXX:+"CXX=$CXX"} || exit
[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen Q= ${CXX:+"CXX=$CXX"} || exit
trap 'rm -f "$errtmp"' EXIT
errtmp="$(mktemp)"