From 3360072f84625a6bae6fd55a2da7402ab5f2c013 Mon Sep 17 00:00:00 2001
From: Chocobo1 <Chocobo1@users.noreply.github.com>
Date: Mon, 11 Jan 2016 13:31:41 +0800
Subject: [PATCH] TravisCI: fix linux + clang compile

---
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0c97752f..b84b84a5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,6 +36,9 @@ addons:
     - libtommath-dev
 
 
+before_install:
+  - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi  # workaround
+
 install:
   - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" != "--enable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi
 
-- 
GitLab