summaryrefslogtreecommitdiff
path: root/libiberty/config/mh-aix
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/config/mh-aix')
-rw-r--r--libiberty/config/mh-aix10
1 files changed, 10 insertions, 0 deletions
diff --git a/libiberty/config/mh-aix b/libiberty/config/mh-aix
new file mode 100644
index 00000000000..c7b848d976a
--- /dev/null
+++ b/libiberty/config/mh-aix
@@ -0,0 +1,10 @@
+HDEFINES = -D__IEEE_BIG_ENDIAN
+RANLIB=true
+INSTALL=cp
+
+# Most releases of AIX 3.1 include an incorrect internal version of copysign
+# in libc.a for use by some libc public functions including modf. The public
+# version of copysign in libm.a is usable. For the sake of libg++ (which
+# uses modf), we add copysign here. Supposedly, this problem is fixed in AIX
+# 3.1.8 and above, including all releases of AIX 3.2.
+EXTRA_OFILES = copysign.o