vlc | branch: master | Martin Storsjö <[email protected]> | Thu Jun 14 10:22:01 2018 +0300| [a3d1527ecc4c775253c6822502bbaeb2a788933e] | committer: Martin Storsjö
contrib: lua: Make sure to use the right AR tool for the target In many cases, the host AR tool just happens to work fine for e.g. mingw cross builds, but clang targeting x86 mingw recently started generating code that trips up GNU binutils ar, with cases like this: ar: lcode.o: Unrecognized storage class 0 for .rdata symbol `__xmm@8000000000000 0008000000000000000' Just consistently use the right AR tool for the target, just like we do for RANLIB and STRIP. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3d1527ecc4c775253c6822502bbaeb2a788933e --- contrib/src/lua/rules.mak | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak index b232eb6ab8..9f5a4eca91 100644 --- a/contrib/src/lua/rules.mak +++ b/contrib/src/lua/rules.mak @@ -68,6 +68,7 @@ endif -e 's%CC=%#CC=%' \ -e 's%= *strip%=$(STRIP)%' \ -e 's%= *ranlib%= $(RANLIB)%' \ + -e 's%= *ar%= $(AR)%' \ Makefile $(MOVE) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
