From ad71713c9b5cefc2318a6cb21bd47a2f8a4b4a57 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Thu, 30 May 2013 23:35:09 -0600 Subject: [PATCH] testrunner: respect environment-defined CXX (like other gambatte parts do). --- testrunner/SConstruct | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testrunner/SConstruct b/testrunner/SConstruct index 307f4aee..63b3f45a 100644 --- a/testrunner/SConstruct +++ b/testrunner/SConstruct @@ -1,11 +1,15 @@ global_cflags = ARGUMENTS.get('CFLAGS', '-Wall -Wextra -O2 -g') global_cxxflags = ARGUMENTS.get('CXXFLAGS', global_cflags + ' -fno-exceptions -fno-rtti') global_defines = ' -DHAVE_STDINT_H' +vars = Variables() +vars.Add('CC') +vars.Add('CXX') env = Environment(CPPPATH = ['.', '../libgambatte/include'], CFLAGS = global_cflags + global_defines, CXXFLAGS = global_cxxflags + global_defines, - LIBS = 'm') + LIBS = 'm', + variables = vars) sourceFiles = Split(''' testrunner.cpp