[vlc-commits] win32 package: explicitely set COMPILING_WITH_CLANG

Konstantin Pavlov git at videolan.org
Sun Oct 27 05:03:29 CET 2019


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Oct 27 06:49:41 2019 +0300| [5e2bae5719e53effcb566df6e3359fbcc7cb4dcd] | committer: Konstantin Pavlov

win32 package: explicitely set COMPILING_WITH_CLANG

This fixes a cosmetic issue when it's unset:

+ [  -gt 0 ]
extras/package/win32/build.sh: 113: [: Illegal number:

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e2bae5719e53effcb566df6e3359fbcc7cb4dcd
---

 extras/package/win32/build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 29f39a70f6..9607fcfe05 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -102,6 +102,8 @@ TRIPLET=$ARCH-w64-mingw32
 CC=${CC:-$TRIPLET-gcc}
 if ! printf "#ifdef __clang__\n#error CLANG\n#endif" | $CC -E -; then
     COMPILING_WITH_CLANG=1
+else
+    COMPILING_WITH_CLANG=0
 fi
 
 info "Building extra tools"



More information about the vlc-commits mailing list