]> 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:19:38 +0000 (14:19 +0100)
commitac3f2e33b464a168b84ddb8a2da2195a6656dd19
treea4afacb1fd262c1f02ba13c017e00345ff06757b
parentff9684b7201fa000a73fb5aa9bd586db7c76f07f
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.
tests/atlocal.in
tests/local.at
tests/local.mk