[vlc-commits] win32 package: explicitely set COMPILING_WITH_CLANG

Konstantin Pavlov git at videolan.org
Thu Jun 18 14:54:20 CEST 2020


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Oct 27 06:49:41 2019 +0300| [0f31ae9448c3c45eefab0f7ce29d81e2a66eae17] | committer: Steve Lhomme

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:

(cherry picked from commit 5e2bae5719e53effcb566df6e3359fbcc7cb4dcd)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0f31ae9448c3c45eefab0f7ce29d81e2a66eae17
---

 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 cf93070dfe..43929165c0 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