From 53d4244ec0ac70438d75abf3326cb3392bb9c828 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 2 Feb 2021 15:39:26 +0000 Subject: intl: always picify libintl is included in several shared libraries (at least libinproctrace.so and libctf.so): unconditionally picify with code borrowed from libiberty configure. (It's not performance-critical, so don't bother making separate PIC and non-PIC libraries like libiberty does.) intl/ChangeLog 2021-02-02 Nick Alcock * aclocal.m4: include picflag.m4. * configure.ac (PICFLAG): Add and substitute. * Makefile.in (PICFLAG): New. (COMPILE): Use it. * configure: Regenerate. --- intl/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intl/Makefile.in') diff --git a/intl/Makefile.in b/intl/Makefile.in index 356c8ab..96df727 100644 --- a/intl/Makefile.in +++ b/intl/Makefile.in @@ -49,8 +49,9 @@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ DEFS = -DHAVE_CONFIG_H +PICFLAG = @PICFLAG@ -COMPILE = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(DEFS-$@) $(INCLUDES) +COMPILE = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PICFLAG) $(DEFS) $(DEFS-$@) $(INCLUDES) HEADERS = \ gmo.h \ -- cgit v1.1