Ignore:
Timestamp:
Dec 19, 2019 2:57:20 AM (4 years ago)
Author:
nanang
Message:

Fix #2256: Mini refactored Android configure script:

  • added CXXFLAGS & LDFLAGS parsing (from ndk-build output), CXXFLAGS was set to CFLAGS.
  • updated WebRTC instruction set to use SSE2, was generic, for Android emulator (x86 ABI).
  • updated C++ library/STL backend to use c++_shared, somehow '-lc++_static' is ignored after the refactor, also the official NDK docs mentions that c++_static may cause undefined behavior for app with multiple shared libraries (note pjsua2 app may use other shared libraries).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/build/webrtc/Makefile

    r5428 r6120  
    2121                   $(CFLAGS) $(CC_INC). $(CC_INC)../../webrtc/src       \ 
    2222                   $(CC_INC)../../../pjlib/include 
    23 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 
     23export _CXXFLAGS:= $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 
    2424                   $(HOST_CXXFLAGS) $(CXXFLAGS) 
    2525export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 
Note: See TracChangeset for help on using the changeset viewer.