mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Remove use of lorder and tsort while building static libraries. There's
no evidence that any currently-supported platform needs this, and good reason to think that any platform that did need it couldn't use the static libraries anyway --- libpq, at least, has circular references. Removing the code shuts up tsort warnings about the circular references on some platforms.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
MAKE_EXPORTS= true
|
||||
|
||||
RANLIB= touch
|
||||
MK_NO_LORDER= true
|
||||
AROPT = crs
|
||||
|
||||
DLSUFFIX = .so
|
||||
|
@@ -21,7 +21,7 @@ else
|
||||
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
|
||||
@echo building shared object $@
|
||||
@rm -f $@.pic
|
||||
@${AR} cq $@.pic `lorder $<.obj | tsort`
|
||||
@${AR} cq $@.pic $<.obj
|
||||
${RANLIB} $@.pic
|
||||
@rm -f $@
|
||||
$(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
|
||||
|
@@ -1,4 +1,3 @@
|
||||
MK_NO_LORDER= true
|
||||
AROPT = crs
|
||||
rpath = -Wl,-rpath,'$(rpathdir)'
|
||||
|
||||
|
@@ -23,7 +23,7 @@ else
|
||||
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
|
||||
@echo building shared object $@
|
||||
@rm -f $@.pic
|
||||
@${AR} cq $@.pic `lorder $<.obj | tsort`
|
||||
@${AR} cq $@.pic $<.obj
|
||||
${RANLIB} $@.pic
|
||||
@rm -f $@
|
||||
$(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
|
||||
|
@@ -21,7 +21,7 @@ else
|
||||
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
|
||||
@echo building shared object $@
|
||||
@rm -f $@.pic
|
||||
@${AR} cq $@.pic `lorder $<.obj | tsort`
|
||||
@${AR} cq $@.pic $<.obj
|
||||
${RANLIB} $@.pic
|
||||
@rm -f $@
|
||||
$(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic
|
||||
|
Reference in New Issue
Block a user