Merge egcs-19981008.
authorJeff Law <law@redhat.com>
Fri, 9 Oct 1998 21:10:04 +0000 (21:10 +0000)
committerJeff Law <law@redhat.com>
Fri, 9 Oct 1998 21:10:04 +0000 (21:10 +0000)
config/.Sanitize
config/mh-aix43 [new file with mode: 0644]
config/mt-linux
config/mt-sparcpic

index ceb33b8..a3b1c58 100644 (file)
@@ -44,6 +44,7 @@ Things-to-keep:
 ChangeLog
 mh-a68bsd
 mh-aix386
+mh-aix43
 mh-apollo68
 mh-cxux
 mh-cygwin32
diff --git a/config/mh-aix43 b/config/mh-aix43
new file mode 100644 (file)
index 0000000..9eb750c
--- /dev/null
@@ -0,0 +1,4 @@
+# AIX 4.3 and above requires -X32_64 flag to all ar and nm commands
+# to handle both 32-bit and 64-bit objects.
+AR_FOR_TARGET=ar -X32_64
+NM_FOR_TARGET=nm -X32_64
index e3f15ea..a09e6f1 100644 (file)
@@ -1,2 +1,2 @@
 # When using glibc 2 on Linux we must always use vtable thunks.
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks -D_GNU_SOURCE
index 35b8c9e..fd0ec27 100644 (file)
@@ -1 +1 @@
-PICFLAG_FOR_TARGET=-fPIC
+PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`