From: Jason Merrill Date: Tue, 6 Jun 1995 01:34:52 +0000 (+0000) Subject: Mon Jun 5 18:26:36 1995 Jason Merrill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a442536378bd8a91aef82fb33f294c4e602c5d2;p=binutils-gdb.git Mon Jun 5 18:26:36 1995 Jason Merrill * Makefile.in (PICFLAG, PICFLAG_FOR_TARGET): New macros. (FLAGS_TO_PASS): Pass them. (EXTRA_TARGET_FLAGS): Ditto. * config/m?-*pic: Define PICFLAG* instead of LIB*FLAGS*. Support building both shared and archive libraries. --- diff --git a/config/mt-papic b/config/mt-papic index c78b51c84c4..35b8c9e4dc2 100644 --- a/config/mt-papic +++ b/config/mt-papic @@ -1,2 +1 @@ -LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fPIC -LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fPIC -fno-implicit-templates +PICFLAG_FOR_TARGET=-fPIC diff --git a/config/mt-sparcpic b/config/mt-sparcpic index de6df68186c..35b8c9e4dc2 100644 --- a/config/mt-sparcpic +++ b/config/mt-sparcpic @@ -1,2 +1 @@ -LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic -LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates +PICFLAG_FOR_TARGET=-fPIC diff --git a/config/mt-x86pic b/config/mt-x86pic index de6df68186c..ff987275575 100644 --- a/config/mt-x86pic +++ b/config/mt-x86pic @@ -1,2 +1 @@ -LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic -LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates +PICFLAG_FOR_TARGET=-fpic