Commit d994998
committed
Make: Support CFLAGS as both env var and make argument
We usually pass arguments to make through environment variables:
CFLAGS="-std=c11" make quickcheck
It currently does not work to pass it as a make argument:
make quickcheck CFLAGS="-std=c11"
This commit fixes that and extends the C90 CI to test both variants.
Resolves #722
Signed-off-by: Matthias J. Kannwischer <[email protected]>1 parent dcc95d6 commit d994998
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | | - | |
159 | 163 | | |
160 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
161 | 167 | | |
162 | 168 | | |
163 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments