summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-03-02 14:44:28 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-03-02 14:44:28 +0100
commit2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9 (patch)
tree1106f82144a37c4e26b4f004208b6a76d460eedd /iconvdata
parent9090848d0607e93fb08a1d68d9f263846ee33f02 (diff)
downloadglibc-2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9.tar.gz
glibc-2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9.tar.xz
glibc-2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9.zip
Document and fix --enable-bind-now [BZ #21015]
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 04157b25c5..e4845871f5 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -63,6 +63,11 @@ modules	:= ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5		 \
 	   MAC-CENTRALEUROPE KOI8-RU ISO8859-9E				 \
 	   CP770 CP771 CP772 CP773 CP774
 
+# If lazy binding is disabled, use BIND_NOW for the gconv modules.
+ifeq ($(bind-now),yes)
+LDFLAGS.so += -Wl,-z,now
+endif
+
 modules.so := $(addsuffix .so, $(modules))
 
 ifeq (yes,$(build-shared))