Make BUILDTYPE=Release the default if no make parameters are specified

This probably simplifies the default case for most users of the
library, and reduces the risk of people accidentally trying to use
an unoptimized build.
This commit is contained in:
Martin Storsjö 2014-01-23 15:03:15 +02:00
parent de935a5237
commit 18a4354b6e
2 changed files with 2 additions and 1 deletions

View File

@ -8,5 +8,5 @@ before_install:
#link libcrypto for 32bit
- sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libcrypto.so
install: make gtest-bootstrap
script: make -B ENABLE64BIT=Yes && make test && make -B ENABLE64BIT=Yes BUILDTYPE=Release && make test && make -B && make test && make -B BUILDTYPE=Release && make test
script: make -B ENABLE64BIT=Yes && make test && make -B ENABLE64BIT=Yes BUILDTYPE=Debug && make test && make -B && make test && make -B BUILDTYPE=Debug && make test

View File

@ -11,6 +11,7 @@ CFLAGS_OPT=-O3
CFLAGS_DEBUG=-g
CFLAGS_M32=-m32
CFLAGS_M64=-m64
BUILDTYPE=Release