mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Update macro
This commit is contained in:
parent
3b8450d4bd
commit
a60dbc167a
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ USER_DIR = .
|
||||||
CPPFLAGS += -I\$(GTEST_DIR)/include
|
CPPFLAGS += -I\$(GTEST_DIR)/include
|
||||||
|
|
||||||
# Flags passed to the C++ compiler.
|
# Flags passed to the C++ compiler.
|
||||||
CXXFLAGS += ${CXXFLAGS} -Wextra ${EXTRA_DEFINES}
|
CXXFLAGS += ${CXXFLAGS} -Wextra ${UTEST_EXTRA_DEFINES}
|
||||||
|
|
||||||
# All tests produced by this Makefile. Remember to add new tests you
|
# All tests produced by this Makefile. Remember to add new tests you
|
||||||
# created to the list.
|
# created to the list.
|
||||||
|
|
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -396,7 +396,7 @@ fi
|
||||||
# For utest on mac.
|
# For utest on mac.
|
||||||
# @see https://github.com/protocolbuffers/protobuf/issues/51#issuecomment-111044468
|
# @see https://github.com/protocolbuffers/protobuf/issues/51#issuecomment-111044468
|
||||||
if [[ $SRS_OSX == YES ]]; then
|
if [[ $SRS_OSX == YES ]]; then
|
||||||
EXTRA_DEFINES="-DGTEST_USE_OWN_TR1_TUPLE=1"
|
UTEST_EXTRA_DEFINES="-DGTEST_USE_OWN_TR1_TUPLE=1"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# utest, the unit-test cases of srs, base on gtest1.6
|
# utest, the unit-test cases of srs, base on gtest1.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue