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 c78b51c84c4053878a13a74ce2e192a8f0877b37..35b8c9e4dc2320bc8c12184a31e62df0afd07920 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 de6df68186c430e9f360622d19f9d3a0e9753fca..35b8c9e4dc2320bc8c12184a31e62df0afd07920 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 de6df68186c430e9f360622d19f9d3a0e9753fca..ff9872755757084af74d9dc4c462784c00d6debe 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