Mon Jun 5 18:26:36 1995 Jason Merrill <jason@phydeaux.cygnus.com>
authorJason Merrill <jason@redhat.com>
Tue, 6 Jun 1995 01:34:52 +0000 (01:34 +0000)
committerJason Merrill <jason@redhat.com>
Tue, 6 Jun 1995 01:34:52 +0000 (01:34 +0000)
* 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.

config/mt-papic
config/mt-sparcpic
config/mt-x86pic

index c78b51c..35b8c9e 100644 (file)
@@ -1,2 +1 @@
-LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fPIC
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fPIC -fno-implicit-templates
+PICFLAG_FOR_TARGET=-fPIC
index de6df68..35b8c9e 100644 (file)
@@ -1,2 +1 @@
-LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates
+PICFLAG_FOR_TARGET=-fPIC
index de6df68..ff98727 100644 (file)
@@ -1,2 +1 @@
-LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates
+PICFLAG_FOR_TARGET=-fpic