shithub: openh264

Download patch

ref: 18a4354b6e0c1323022975d12751139ceb4aa5c0
parent: de935a52371fc7913cfe26e0ac07fef67e93c876
author: Martin Storsjö <[email protected]>
date: Thu Jan 23 10:03:15 EST 2014

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.

--- a/.travis.yml
+++ b/.travis.yml
@@ -8,5 +8,5 @@
 #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
 
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@
 CFLAGS_DEBUG=-g
 CFLAGS_M32=-m32
 CFLAGS_M64=-m64
+BUILDTYPE=Release