]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - iconvdata/Makefile
Document and fix --enable-bind-now [BZ #21015]
[thirdparty/glibc.git] / iconvdata / Makefile
index 04157b25c5ccc64d81a8b5a019714a2bce65f48c..e4845871f559b406d3d5d01138a09d82df6178b3 100644 (file)
@@ -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))