]> git.saurik.com Git - bison.git/commit - tests/atlocal.in
tests: when using the C++ compiler, use its flags too.
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 23 Mar 2012 15:05:15 +0000 (16:05 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Sat, 24 Mar 2012 13:37:32 +0000 (14:37 +0100)
commitc84134b6440bdae276bd3d1b4d54951ddc75de93
treef37b7a3df63a0c5ab61433588cedd72defd5ac42
parent84c1cdc71d2cf47bc3673005239effdf78438373
tests: when using the C++ compiler, use its flags too.

* tests/local.at: Go for colors.
(--compile-c-with-cxx): New option.
We used to pass "CC=$CXX" as command line argument,
but it was not possible to adjust CFLAGS accordingly
in atlocal, since it is loaded before assignments on
the command line are honored (so that the command line
takes precedence).
* tests/atlocal.in: Implement it.
* tests/local.mk: Use it.
(cherry picked from commit ac3f2e33b464a168b84ddb8a2da2195a6656dd19)

Conflicts:

tests/local.mk
tests/Makefile.am
tests/atlocal.in
tests/local.at