diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-10-24 07:12:39 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-10-24 07:12:39 +0000 |
commit | 25bc6b7d6ccfdeecf4595cd9aee2847895276e2a (patch) | |
tree | 97be1a850e065384dc9737b49570ccfaed2938d9 /pjlib-util | |
parent | 9711072bf2110851f10494be2d9dac1d9bb09ae2 (diff) |
Re #1630 (misc): Use the right compiler and flags to compile C++ (.cpp) files
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4637 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util')
-rw-r--r-- | pjlib-util/build/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib-util/build/Makefile b/pjlib-util/build/Makefile index 5bff51e3..b89cae15 100644 --- a/pjlib-util/build/Makefile +++ b/pjlib-util/build/Makefile @@ -34,6 +34,7 @@ export PJLIB_UTIL_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ srv_resolver.o string.o stun_simple.o \ stun_simple_client.o xml.o export PJLIB_UTIL_CFLAGS += $(_CFLAGS) +export PJLIB_UTIL_CXXFLAGS += $(_CXXFLAGS) ############################################################################### # Defines for building test application @@ -42,6 +43,7 @@ export UTIL_TEST_SRCDIR = ../src/pjlib-util-test export UTIL_TEST_OBJS += xml.o encryption.o stun.o resolver_test.o test.o \ http_client.o export UTIL_TEST_CFLAGS += $(_CFLAGS) +export UTIL_TEST_CXXFLAGS += $(_CXXFLAGS) export UTIL_TEST_LDFLAGS += $(_LDFLAGS) export UTIL_TEST_EXE:=../bin/pjlib-util-test-$(TARGET_NAME)$(HOST_EXE) |