Switched to Xenial for Travis.

Fixed makefile for clang8 to avoid libstdc++ linking.
This commit is contained in:
Dmitry 2019-07-02 11:10:02 +03:00 committed by jeefo
commit 7d3c4a0be0
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
language: cpp
dist: trusty
dist: xenial
compiler:
- clang

View file

@ -44,6 +44,8 @@ BINARY_OUTPUT = $(PROJECT).$(LIBRARY_EXT)
ifeq ($(findstring clang,$(COMPILER)),clang)
ifeq "$(OSX)" "false"
LINKER_FLAGS += -lgcc_eh
else
LINKER_FLAGS += -nostdlib++ -Wunused-command-line-argument
endif
else ifeq ($(findstring gcc,$(COMPILER)),gcc)
ifneq "$(OSX)" "false"