okay, travis. flto removed.

This commit is contained in:
jeefo 2016-09-16 17:05:04 +03:00
commit f8650aebd5
2 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,6 @@ branches:
compiler:
- clang
before_script:
- sudo ln -sf /usr/lib/llvm-3.8/lib/LLVMgold.so /usr/lib/LLVMgold.so && echo /usr/lib/llvm-3.8/lib >> /etc/ld.so.conf && ldconfig
- sudo wget $OSX_CROSS_TOOL -O /tmp/osxcross.tgz && mkdir -p /tmp/osxcross/target && tar xzf /tmp/osxcross.tgz -C /tmp/osxcross/target/
- export PATH=$PATH:/tmp/osxcross/target/bin
- wget https://yapb.jeefo.net/ci/scripts/gitrev.sh && chmod a+x ./gitrev.sh && ./gitrev.sh

View file

@ -22,7 +22,7 @@ OBJECTS = $(SRC_DIR)/basecode.cpp \
$(SRC_DIR)/support.cpp \
$(SRC_DIR)/waypoint.cpp \
C_OPT_FLAGS = -Ofast -DNDEBUG -pipe -flto -fno-strict-aliasing -mtune=generic
C_OPT_FLAGS = -Ofast -DNDEBUG -pipe -fno-strict-aliasing -mtune=generic
C_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3
C_GCC_FLAGS = -fvisibility=hidden
@ -52,7 +52,7 @@ else
LINK += -shared
endif
LINK += -m32 -lm -ldl -flto
LINK += -m32 -lm -ldl
CFLAGS += -msse2 -std=c++11 -m32 -Wall -Werror -Wextra
CPPFLAGS += -fno-exceptions -fno-rtti