Commit 50c8309
committed
Don't pass
When using *Command Line Tools for Xcode* version 15.0, clang will warn about
`argument unused during compilation: '-stdlib=libc++'` if this flag is present
when compiling C files only (i.e. no C++ files).
To avoid this warning, we can add the flag only to CXXFLAGS and not to CFLAGS.-stdlib=libc++ when building C files on macOS1 parent cbce15c commit 50c8309
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
| 1183 | + | |
| 1184 | + | |
1186 | 1185 | | |
1187 | | - | |
| 1186 | + | |
1188 | 1187 | | |
1189 | 1188 | | |
1190 | 1189 | | |
| |||
0 commit comments