]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/configure.ac
Add --enable-host-shared configuration option
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 20:33:55 +0000 (20:33 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 20:33:55 +0000 (20:33 +0000)
commit2bd17377b2ec8b464d7ac8e4a1034987f5604e4d
treeb101be713129409fe69e45a4e5436995f481906a
parent0d19a5ce118b87ce8e5d7c082be3e17c4834f3c9
Add --enable-host-shared configuration option

/
* configure.ac: Add --enable-host-shared
* configure: Regenerate.

gcc/
* Makefile.in (PICFLAG): New.
(enable_host_shared): New.
(INTERNAL_CFLAGS): Use PICFLAG.
(LIBIBERTY): Use pic build of libiberty.a if configured with
--enable-host-shared.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.
* doc/install.texi (--enable-shared): Add note contrasting it
with...
(--enable-host-shared): New option.

libbacktrace/
* configure.ac: Add --enable-host-shared, setting up
pre-existing PIC_FLAG variable within Makefile.am et al.
* configure: Regenerate.

libcpp/
* Makefile.in (PICFLAG): New.
(ALL_CFLAGS): Add PICFLAG.
(ALL_CXXFLAGS): Likewise.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.

libdecnumber/
* Makefile.in (PICFLAG): New.
(ALL_CFLAGS): Add PICFLAG.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.

libiberty/
* configure.ac: If --enable-host-shared, use -fPIC.
* configure: Regenerate.

zlib/
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* Makefile.am: Add PICFLAG to libz_a_CFLAGS.
* Makefile.in: Regenerate.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203632 138bc75d-0d04-0410-961f-82ee72b054a4
27 files changed:
ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.ac
gcc/doc/install.texi
libbacktrace/ChangeLog
libbacktrace/configure
libbacktrace/configure.ac
libcpp/ChangeLog
libcpp/Makefile.in
libcpp/configure
libcpp/configure.ac
libdecnumber/ChangeLog
libdecnumber/Makefile.in
libdecnumber/configure
libdecnumber/configure.ac
libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac
zlib/ChangeLog.gcj
zlib/Makefile.am
zlib/Makefile.in
zlib/configure
zlib/configure.ac