summaryrefslogtreecommitdiff
path: root/bfd/configure.host
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2010-02-15 19:25:47 +0000
committerDave Korn <dave.korn@artimi.com>2010-02-15 19:25:47 +0000
commitc6a98ec483c70175e3092589c3c1b3c7e04c3b7d (patch)
tree917ed3a30cf32d35943b596ea1abeabf68aab126 /bfd/configure.host
parentc650a6bcb45da4292332ea282ab01a1482efd882 (diff)
downloadbinutils-redhat-c6a98ec483c70175e3092589c3c1b3c7e04c3b7d.tar.gz
bfd/ChangeLog:
PR binutils/11280 * configure.host (*-*-solaris2.11): Add host define to select valid default code page for windres/windmc on solaris.
Diffstat (limited to 'bfd/configure.host')
-rw-r--r--bfd/configure.host6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/configure.host b/bfd/configure.host
index 11b42e0fc1..eb7bfe9e3d 100644
--- a/bfd/configure.host
+++ b/bfd/configure.host
@@ -56,6 +56,12 @@ mips*-*-riscos*) HDEFINES="-G 4" ;;
m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;;
+# Some Solaris systems (osol0906 at least) have a libc that doesn't recognise
+# the "MS-ANSI" code page name, so we define an override for CP_ACP (sets the
+# default code page used by windres/windmc when not specified by a commandline
+# option) to select the "WINDOWS-1252" name instead. See PR11280 for details.
+*-*-solaris2.11) HDEFINES=-DCP_ACP=1 ;;
+
*-*-windows*)
HOST_64BIT_TYPE=__int64
HOST_U_64BIT_TYPE="unsigned __int64"