From: Stan Shebs Date: Mon, 23 Apr 2001 01:14:03 +0000 (+0000) Subject: config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3b1a352b07e12c617af6e7a00aea02a9e643d82;p=gcc.git config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines. * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h into xm_defines. * config/rs6000/xm-darwin.h: Remove file. From-SVN: r41496 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2a7a3d3ec3..141f4e32179 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-04-22 Stan Shebs + + * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h + into xm_defines. + * config/rs6000/xm-darwin.h: Remove file. + 2001-04-22 Kaveh R. Ghazi * collect2.c (main): Use concat in lieu of xmalloc/sprintf. diff --git a/gcc/config.gcc b/gcc/config.gcc index ed888a91b6d..8459b95d81e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2609,8 +2609,11 @@ powerpc-*-darwin*) tm_file="${tm_file} darwin.h rs6000/darwin.h" tm_p_file="${tm_p_file} darwin-protos.h" tmake_file=rs6000/t-darwin - xm_file=rs6000/xm-darwin.h xmake_file=rs6000/x-darwin + # Override the usual setting, since Apple's GCC has lame bugs + # and can't handle the initializers. Someday the bugs will be + # fixed and we can get rid of this silliness. + xm_defines="HAVE_DESIGNATED_INITIALIZERS=0" extra_objs="darwin.o" # Darwin linker does collect2 functionality use_collect2=no diff --git a/gcc/config/rs6000/xm-darwin.h b/gcc/config/rs6000/xm-darwin.h deleted file mode 100644 index cc3a717dedf..00000000000 --- a/gcc/config/rs6000/xm-darwin.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Override the usual setting, since Apple's GCC has lame bugs and - can't handle the initializers. Someday the bugs will be fixed and - we can get rid of this silliness. */ - -#define HAVE_DESIGNATED_INITIALIZERS 0