On Mon, Nov 02, 2015 at 12:24:51AM +0100, Thomas Monjalon wrote: > > ifeq ($(LINK_USING_CC),1) > > # Override the definition of LD here, since we're linking with CC > > LD := $(CC) $(CPU_CFLAGS) > > -O_TO_S = $(LD) $(call linkerprefix,$(CPU_LDFLAGS)) \ > > +O_TO_S = $(LD) $(call linkerprefix,$(SHARED_LDFLAGS)) \ > > -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > > else > > -O_TO_S = $(LD) $(CPU_LDFLAGS) \ > > +O_TO_S = $(LD) $(SHARED_LDFLAGS) \ > > -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) > > endif > > Why do you remove CPU_LDFLAGS?
CPU_LDFLAGS shared by other libraries and confilicts with this usage.