From: Ian Lance Taylor Date: Fri, 3 Dec 1993 23:42:59 +0000 (+0000) Subject: * config/solaris2.mh (HDEFINES): Remove -Dconst= X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ecb2d8879152891e3f072a42efe0804de3938bf9;p=deliverable%2Fbinutils-gdb.git * config/solaris2.mh (HDEFINES): Remove -Dconst= * hosts/solaris.h: If not __GNUC__, define const as empty. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a0d0cb922b..978eab08df 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 3 18:40:58 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/solaris2.mh (HDEFINES): Remove -Dconst= + * hosts/solaris.h: If not __GNUC__, define const as empty. + Thu Dec 2 15:43:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * ecoff.c: Added various casts for 32/64 bit cross targeting. diff --git a/bfd/hosts/solaris2.h b/bfd/hosts/solaris2.h index f423a1c512..458ecc9b2e 100644 --- a/bfd/hosts/solaris2.h +++ b/bfd/hosts/solaris2.h @@ -5,4 +5,10 @@ #ifndef __GNUC__ #include #endif + +#ifndef __GNUC__ +# get around a bug in the Sun C compiler +#define const +#endif + /* That's all... */