Repository navigation
Commit cffc155
committed
tests: fix "which: invalid option" noise in user-env-oom summary
Same fix as commit 69c3e8b for hdf5/phdf5, where AC_PROG_CXX embeds
"-std=gnu++11" directly into $CXX and the configure summary's "`which
$CXX`" then prints one "invalid option" line per character. This summary
only runs which on $CC, which autoconf does not pad with flags today,
but guard it the same way for consistency and in case it ever picks up
embedded flags too.
Use "${CC%% *}" to strip everything after the first space before handing
it to which.
Signed-off-by: Adrian Reber <adrian@lisas.de>
(cherry picked from commit c01eaa9)
Signed-off-by: Adrian Reber <adrian@lisas.de>1 parent 05085be commit cffc155
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments