Ignore:
Timestamp:
Feb 5, 2014 5:52:10 AM (9 years ago)
Author:
bennylp
Message:

Re #1516: fixing multiple inclusions of crtbegin.o and -lgcc in the makefiles. The former causes link errors due to multiple symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/Makefile

    r4711 r4732  
    4040            main.o pjsua_app.o pjsua_app_cli.o pjsua_app_common.o \ 
    4141            pjsua_app_config.o pjsua_app_legacy.o 
    42 export PJSUA_CFLAGS += $(_CFLAGS) 
    43 export PJSUA_CXXFLAGS += $(_CXXFLAGS) 
    44 export PJSUA_LDFLAGS += $(_LDFLAGS) 
     42export PJSUA_CFLAGS += $(PJ_CFLAGS) 
     43export PJSUA_CXXFLAGS += $(PJ_CXXFLAGS) 
     44export PJSUA_LDFLAGS += $(PJ_LDFLAGS) $(PJ_LDLIBS) 
    4545export PJSUA_EXE:=pjsua-$(TARGET_NAME)$(HOST_EXE) 
    4646 
     
    5252export PJSYSTEST_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 
    5353                        systest.o main_console.o 
    54 export PJSYSTEST_CFLAGS += $(_CFLAGS) 
    55 export PJSYSTEST_CXXFLAGS += $(_CXXFLAGS) 
    56 export PJSYSTEST_LDFLAGS += $(_LDFLAGS) 
     54export PJSYSTEST_CFLAGS += $(PJ_CFLAGS) 
     55export PJSYSTEST_CXXFLAGS += $(PJ_CXXFLAGS) 
     56export PJSYSTEST_LDFLAGS += $(PJ_LDFLAGS) $(PJ_LDLIBS) 
    5757export PJSYSTEST_EXE:=pjsystest-$(TARGET_NAME)$(HOST_EXE) 
    5858 
Note: See TracChangeset for help on using the changeset viewer.