revert part of the previous commit bringing the removal of
-Wl,--no-undefined back as it does not build otherwise. discussed with jasper@ and sthen@
This commit is contained in:
parent
cbea8bbe71
commit
0026897e38
@ -1,18 +1,17 @@
|
||||
$OpenBSD: patch-build_make_Makefile,v 1.3 2012/08/27 20:42:25 jasper Exp $
|
||||
--- build/make/Makefile.orig Tue May 8 19:14:00 2012
|
||||
+++ build/make/Makefile Fri Aug 17 23:33:14 2012
|
||||
@@ -247,8 +247,8 @@ define so_template
|
||||
$OpenBSD: patch-build_make_Makefile,v 1.4 2012/08/28 13:04:01 fgsch Exp $
|
||||
--- build/make/Makefile.orig Fri Jan 27 13:36:39 2012
|
||||
+++ build/make/Makefile Sun Jan 29 21:11:03 2012
|
||||
@@ -247,8 +247,7 @@ define so_template
|
||||
# This needs further abstraction for dealing with non-GNU linkers.
|
||||
$(1):
|
||||
$(if $(quiet),@echo " [LD] $$@")
|
||||
- $(qexec)$$(LD) -shared $$(LDFLAGS) \
|
||||
- -Wl,--no-undefined -Wl,-soname,$$(SONAME) \
|
||||
+ $(qexec)$$(LD) -shared -fPIC $$(LDFLAGS) \
|
||||
+ -Wl,--no-undefined \
|
||||
-Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
|
||||
$$(filter %.o,$$?) $$(extralibs)
|
||||
endef
|
||||
@@ -316,7 +316,7 @@ LIBS=$(call enabled,LIBS)
|
||||
@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS)
|
||||
.libs: $(LIBS)
|
||||
@touch $@
|
||||
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
|
||||
|
Loading…
Reference in New Issue
Block a user