[dpdk-dev] [PATCH] mk: fix ABI versioning compile error for combined shared library

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 2 01:05:17 CET 2015


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.



More information about the dev mailing list