From 6199ab25058e04c36381fd8d1bac5a28fa6173ab Mon Sep 17 00:00:00 2001 From: hasufell Date: Mon, 2 Jun 2014 21:41:09 +0200 Subject: [PATCH] BUILD: fix automatic toolchain detection --- .travis.yml | 2 +- common.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index afa224f..5e809d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ before_script: - sudo make install - cd .. script: - - make + - make CC=clang diff --git a/common.mk b/common.mk index 2772117..df4493b 100644 --- a/common.mk +++ b/common.mk @@ -1,5 +1,5 @@ # compiler, tools -CC ?= $(shell type -P clang || echo gcc) +CC = $(shell type -P clang || echo gcc) PKG_CONFIG ?= pkg-config # flags