4 export_dynamic = -Wl,-export-dynamic
5 rpath = -Wl,-R$(rpathdir)
10 ifeq ($(findstring sparc,$(host_cpu)), sparc)
11 CFLAGS_SL = -fPIC -DPIC
13 CFLAGS_SL = -fPIC -DPIC
19 $(LD) -x -shared -o $@ $<
21 $(LD) $(LDREL) $(LDOUT) $<.obj -x $<
22 @echo building shared object $@
24 @${AR} cq $@.pic `lorder $<.obj | tsort`
27 $(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
32 allow_nonpic_in_shlib = yes