The logic for building the test cases did not consider the target triple. The easiest thing to do is use the CXXFLAGS computed by Makefile.rules (which calculates this correctly).
The logic for building the test cases did not consider the target triple. The easiest thing to do is use the CXXFLAGS computed by Makefile.rules (which calculates this correctly).