okay, travis. flto removed.
This commit is contained in:
parent
1141527837
commit
f8650aebd5
2 changed files with 2 additions and 3 deletions
|
|
@ -18,7 +18,6 @@ branches:
|
||||||
compiler:
|
compiler:
|
||||||
- clang
|
- clang
|
||||||
before_script:
|
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/
|
- 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
|
- export PATH=$PATH:/tmp/osxcross/target/bin
|
||||||
- wget https://yapb.jeefo.net/ci/scripts/gitrev.sh && chmod a+x ./gitrev.sh && ./gitrev.sh
|
- wget https://yapb.jeefo.net/ci/scripts/gitrev.sh && chmod a+x ./gitrev.sh && ./gitrev.sh
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ OBJECTS = $(SRC_DIR)/basecode.cpp \
|
||||||
$(SRC_DIR)/support.cpp \
|
$(SRC_DIR)/support.cpp \
|
||||||
$(SRC_DIR)/waypoint.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_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3
|
||||||
|
|
||||||
C_GCC_FLAGS = -fvisibility=hidden
|
C_GCC_FLAGS = -fvisibility=hidden
|
||||||
|
|
@ -52,7 +52,7 @@ else
|
||||||
LINK += -shared
|
LINK += -shared
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LINK += -m32 -lm -ldl -flto
|
LINK += -m32 -lm -ldl
|
||||||
|
|
||||||
CFLAGS += -msse2 -std=c++11 -m32 -Wall -Werror -Wextra
|
CFLAGS += -msse2 -std=c++11 -m32 -Wall -Werror -Wextra
|
||||||
CPPFLAGS += -fno-exceptions -fno-rtti
|
CPPFLAGS += -fno-exceptions -fno-rtti
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue