diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2021-02-02 15:39:26 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2021-02-10 15:26:57 +0000 |
commit | 53d4244ec0ac70438d75abf3326cb3392bb9c828 (patch) | |
tree | 4d9cbb3622894ee2f0419c74af424f0131363122 /intl/Makefile.in | |
parent | adda0248ed0f7a2245f53a79ef6dbc2093a1be22 (diff) | |
download | gdb-53d4244ec0ac70438d75abf3326cb3392bb9c828.zip gdb-53d4244ec0ac70438d75abf3326cb3392bb9c828.tar.gz gdb-53d4244ec0ac70438d75abf3326cb3392bb9c828.tar.bz2 |
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 <nick.alcock@oracle.com>
* aclocal.m4: include picflag.m4.
* configure.ac (PICFLAG): Add and substitute.
* Makefile.in (PICFLAG): New.
(COMPILE): Use it.
* configure: Regenerate.
Diffstat (limited to 'intl/Makefile.in')
-rw-r--r-- | intl/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |