]> git.ipfire.org Git - thirdparty/gcc.git/commit - config/ChangeLog
Centralize PICFLAG configuration
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Aug 2011 16:54:02 +0000 (16:54 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Aug 2011 16:54:02 +0000 (16:54 +0000)
commitd89b89102a47007eafdb014252e30a54b63329d6
tree9d2d55b0c248cd5196e2b1e53daa710fc4f00e33
parenta3654104477899dad470bbf19b62d08eb79c91fd
Centralize PICFLAG configuration

config:
* picflag.m4: New file.

gcc:
* configure.ac (GCC_PICFLAG_FOR_TARGET): Call it.
(PICFLAG_FOR_TARGET): Substitute.
* aclocal.m4: Regenerate.
* configure: Regenerate.

gcc/ada:
* gcc-interface/Makefile.in (PICFLAG_FOR_TARGET): New.
(GNATLIBCFLAGS_FOR_C): Replace
TARGET_LIBGCC2_CFLAGS by PICFLAG_FOR_TARGET.
(gnatlib-shared-default, gnatlib-shared-dual-win32)
(gnatlib-shared-win32, gnatlib-shared-darwin, gnatlib-shared)
(gnatlib-sjlj, gnatlib-zcx): Likewise.

libada:
* configure.ac: Include ../config/picflag.m4.
(GCC_PICFLAG): Call it.
Substitute.
* configure: Regenerate.
* Makefile.in (TARGET_LIBGCC2_CFLAGS): Replace by PICFLAG.
(GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG.
(LIBADA_FLAGS_TO_PASS): Pass PICFLAG as PICFLAG_FOR_TARGET.
Don't include $(GCC_DIR)/libgcc.mvars.

libiberty:
* aclocal.m4: Include ../config/picflag.m4.
* configure.ac (GCC_PICFLAG): Call it.
(enable_shared): Clear PICFLAG unless shared.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177967 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
config/ChangeLog
config/picflag.m4 [new file with mode: 0644]
gcc/ChangeLog
gcc/aclocal.m4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in
gcc/configure
gcc/configure.ac
libada/ChangeLog
libada/Makefile.in
libada/configure
libada/configure.ac
libiberty/ChangeLog
libiberty/aclocal.m4
libiberty/configure
libiberty/configure.ac