Another try at fixing travis build
This commit is contained in:
parent
55d0d6fae5
commit
c70ac21da4
@ -8,7 +8,7 @@ before_install:
|
||||
# Upgrade gcc
|
||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get -qq install g++-4.8
|
||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98
|
||||
|
||||
# Install dependencies
|
||||
- sudo apt-get -qq install libwxgtk3.0-dev libwxgtk3.0-0 libssh2-1-dev
|
||||
|
4
Makefile
4
Makefile
@ -45,12 +45,12 @@ endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
CXXFLAGS += -static
|
||||
CXX += -std=gnu++11 -Wno-unknown-pragmas -Wno-missing-field-initializers -I/include -DWIN32
|
||||
CXX += -std=gnu++11 -Wno-unknown-pragmas -Wno-missing-field-initializers -DWIN32
|
||||
LDLIBS += -L/lib -lwsock32
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Linux)
|
||||
CXX += -std=c++11
|
||||
CXX += -std=c++11 -Wno-unknown-pragmas -Wno-missing-field-initializers
|
||||
endif
|
||||
|
||||
CXX += -Iinclude -I. -I/usr/local/include
|
||||
|
Loading…
Reference in New Issue
Block a user