[v6,9/13] travis: unset linked for clang compilation

Message ID 1534442411-9502-10-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • travis: add docker tests
Related show

Commit Message

Github ODP bot Aug. 16, 2018, 6 p.m.
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 647 (muvarov:master_docker2)
 ** https://github.com/Linaro/odp/pull/647
 ** Patch: https://github.com/Linaro/odp/pull/647.patch
 ** Base sha: 6886a2ca3d3dd1157302ddee424c36f632903bd0
 ** Merge commit sha: f6c5d19f7fb9f83b8a2cbbed692a510146ca7df9
 **/
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/.travis.yml b/.travis.yml
index fd8a57715..dd5f177a5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -75,7 +75,7 @@  compiler:
 install:
         - sudo apt-get install linux-headers-`uname -r`
 script:
-        - if [ "${CC#clang}" != "${CC}" ] ; then LD=ld CXX=clang++; fi
+        - if [ "${CC#clang}" != "${CC}" ] ; then LD="" CXX=clang++; fi
         - if [ -n "${CROSS_ARCH}" ] ; then
                docker run  -i -t -v `pwd`:/odp -v /lib/modules:/lib/modules -v /usr/src:/usr/src
                  -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}"