forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -47,6 +47,11 @@ case $USE_INCLUDED_LIBINTL in
|
||||
;;
|
||||
esac
|
||||
|
||||
# intl is sometimes linked into shared libraries even without --enable-shared
|
||||
# (e.g. gdbsupport's inprocess agent): so always PICify, just in case.
|
||||
GCC_PICFLAG
|
||||
AC_SUBST(PICFLAG)
|
||||
|
||||
BISON3_YES='#'
|
||||
BISON3_NO=
|
||||
if test "$INTLBISON" != :; then
|
||||
|
||||
Reference in New Issue
Block a user