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 ceb33b8948f30c9c469e4117afb6e9d5565c7ae0..a3b1c585305e111dfff9bf1cbd49ec85021b8234 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 e3f15eaa8f55de5e1d864a5f9a8947f90812e5d3..a09e6f18af57f4e2be024b0281e9da47ee986542 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 35b8c9e4dc2320bc8c12184a31e62df0afd07920..fd0ec271afce11b4764c7c5cb25d2a3db109cce0 100644 (file)
@@ -1 +1 @@
-PICFLAG_FOR_TARGET=-fPIC
+PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`