Skip to content
Snippets Groups Projects
Commit 98f77b7e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

package/win32: avoid verbose errors when checking for clang

parent 23fac246
No related branches found
No related tags found
Loading
......@@ -138,7 +138,7 @@ TRIPLET=$ARCH-w64-mingw32
# Check if compiling with clang
CC=${CC:-$TRIPLET-gcc}
if ! printf "#ifdef __clang__\n#error CLANG\n#endif" | $CC -E -; then
if ! printf "#ifdef __clang__\n#error CLANG\n#endif" | $CC -E - 1>/dev/null 2>/dev/null; then
COMPILING_WITH_CLANG=1
else
COMPILING_WITH_CLANG=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment