Makefile: 1801 only change to revert its clang version 29/12629/2
authorEd Kern <[email protected]>
Thu, 17 May 2018 14:55:59 +0000 (08:55 -0600)
committerDave Wallace <[email protected]>
Thu, 17 May 2018 17:34:03 +0000 (17:34 +0000)
Base build image now uses clang 5 as default but this new version
throws errors that the older 3.8 did not.

Change-Id: I938ffc4464bf45dd52bc3ca4270db52e21865fc6
Signed-off-by: Ed Kern <[email protected]>
Makefile

index ec3e92d..a93c20e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -522,7 +522,7 @@ ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04)
        @sudo -E apt-get update
        @sudo -E apt-get $(CONFIRM) $(FORCE) install clang
        $(call banner,"Building for PLATFORM=vpp using clang")
-       @make -C build-root CC=clang PLATFORM=vpp TAG=vpp_clang wipe-all install-packages
+       @make -C build-root CC=clang-3.8 PLATFORM=vpp TAG=vpp_clang wipe-all install-packages
 endif
        $(call banner,"Building sample-plugin")
        @make -C build-root PLATFORM=vpp TAG=vpp sample-plugin-install