From b20b2dd28c2b139155bf3506a45a3f7b38891659 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Thu, 8 Aug 2024 20:22:55 +0200 Subject: [PATCH] Pass CXX env var through when compiling RGBGFX test binaries --- test/gfx/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gfx/test.sh b/test/gfx/test.sh index ae0cb2e7..c571fa40 100755 --- a/test/gfx/test.sh +++ b/test/gfx/test.sh @@ -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)"