2011-12-07 19:39:18 -05:00
|
|
|
$OpenBSD: patch-config_rules_mk,v 1.6 2011/12/08 00:39:18 nigel Exp $
|
|
|
|
--- config/rules.mk.orig Mon Nov 7 20:53:31 2011
|
|
|
|
+++ config/rules.mk Mon Nov 21 23:10:19 2011
|
|
|
|
@@ -606,6 +606,12 @@ endif
|
2011-07-24 03:31:57 -04:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(OS_ARCH),OpenBSD)
|
|
|
|
+ifdef IS_COMPONENT
|
|
|
|
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
#
|
|
|
|
# HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
|
|
|
|
# which uses internal symbols first
|