shithub: openh264

Download patch

ref: 1646f86b3795945aee81259d860db41052d7b00d
parent: a1b8ffc9dfbebaf8961dc8c0e3f90e8e8866e483
author: Martin Storsjö <martin@martin.st>
date: Fri Jan 16 05:33:06 EST 2015

Allow setting cflags specifically for the unit test suite

--- a/Makefile
+++ b/Makefile
@@ -127,6 +127,12 @@
 COMMON_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES) $(DECODER_INCLUDES) -I$(SRC_PATH)test -I$(SRC_PATH)test/common
 MODULE_INCLUDES += -I$(SRC_PATH)gmp-api
 
+DECODER_UNITTEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
+ENCODER_UNITTEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
+PROCESSING_UNITTEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
+API_TEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
+COMMON_UNITTEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
+
 .PHONY: test gtest-bootstrap clean $(PROJECT_NAME).pc $(PROJECT_NAME)-static.pc
 
 all: libraries binaries