Skip to content

Commit

Permalink
gcc-apple: Adapted dsymutil.patch to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Tilger committed Jul 1, 2011
1 parent 511be51 commit 4d9b55e
Show file tree
Hide file tree
Showing 14 changed files with 1,705 additions and 0 deletions.
304 changes: 304 additions & 0 deletions sys-devel/gcc-apple/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,304 @@
# ChangeLog for sys-devel/gcc-apple
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/ChangeLog,v 1.19 2011/04/02 15:38:18 grobian Exp $

*gcc-apple-4.2.1_p5666 (02 Apr 2011)

02 Apr 2011; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.2.1_p5666.ebuild:
Version bump to version from Developer Tools 4.0

*gcc-apple-4.2.1_p5664 (12 Aug 2010)

12 Aug 2010; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.2.1_p5664.ebuild:
Bump to version from DevTools 3.2.3

*gcc-apple-4.2.1_p5659 (18 May 2010)

18 May 2010; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.2.1_p5659.ebuild:
Version bump to version from Developer Tools 3.2.2

02 May 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5647.ebuild:
Don't try to autoconf when bootstrapping, bug #317915

26 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5566-r2.ebuild, gcc-apple-4.2.1_p5574.ebuild,
gcc-apple-4.2.1_p5646.ebuild, gcc-apple-4.2.1_p5647.ebuild,
+files/gcc-apple-4.2.1-autoconf-m4-precious.patch:
Add patch to be able to autoconf libgomp using autoconf >=2.64, bug
#308515

24 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5647.ebuild:
Add openmp USE-flag, since some packages check for such flag, gcc-apple
has always enabled had it enabled in the past

12 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5646.ebuild, gcc-apple-4.2.1_p5647.ebuild:
Update libstdc++ version check to exclude 64-bits builds on Leopard,
dtrace is 32-bits only there.

09 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5566-r2.ebuild, gcc-apple-4.2.1_p5574.ebuild,
gcc-apple-4.2.1_p5646.ebuild, gcc-apple-4.2.1_p5647.ebuild:
Fix version hacking, Apple actually parses it back again to set
__APPLE_CC__ to their build number. Fixes bug #308659

*gcc-apple-4.2.1_p5647 (08 Mar 2010)

08 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-3.5.0_p3506-r1.ebuild, gcc-apple-4.0.1_p5490-r2.ebuild,
gcc-apple-4.0.1_p5493.ebuild, gcc-apple-4.2.1_p5566-r2.ebuild,
gcc-apple-4.2.1_p5574.ebuild, gcc-apple-4.2.1_p5646.ebuild,
+gcc-apple-4.2.1_p5647.ebuild,
+files/gcc-apple-4.2.1_p5646-gfortran.patch:
Ported all ebuilds to EAPI=3, bump to Dev Tools 3.2.1, 5646.1 as 5647
(hack), update gfortran support, use version 4.2.4 for latest ebuild since
ATTR seems to be doing that too, hopefully for a good reason. Put back
stdc++-v3 into the gcc tree so we don't have to configure/make twice
(necessary even for EAPI=2+). Sed Gentoo version into version string, so
our compilers are identifyable, let bugs url point to our bugzilla.

25 Sep 2009; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5574.ebuild, -files/gcc-apple-4.2.1_p5574-darwin10.patch:
With updated libtool stuff, we no longer need the hacky workaround on
Darwin10, thanks rrrachel for testing

25 Sep 2009; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5574.ebuild:
Merge back Snow Leopard fixes from Prefix Tree

06 Sep 2009; Fabian Groffen <grobian@gentoo.org>
files/gcc-apple-4.2.1-gfortran.patch:
Trim fortran patch such that it at least applies to the latest ebuild. The
removed part is for the build_gcc script that we don't use anyway.

*gcc-apple-4.2.1_p5646 (05 Sep 2009)

05 Sep 2009; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.2.1_p5646.ebuild:
Bump to version from Snow Leopard/Developer Tools 3.2, still masked as
fortran support is broken

28 Jun 2009; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.2.1_p5566-x86_64-defines.patch, +libstdc++-16.patch
+gcc-apple-4.2.1-inline-asm.patch, +gcc-apple-4.2.1-texinfo.patch,
+gcc-apple-4.2.1-dsymutil.patch,
+gcc-apple-4.2.1-prefix-search-dirs.patch,
+gcc-apple-4.0.1_p5465-default-altivec.patch,
+gcc-apple-4.2.1-gfortran.patch:
Add missing patches

*gcc-apple-4.2.1_p5574 (20 Jun 2009)
*gcc-apple-4.0.1_p5493 (20 Jun 2009)

20 Jun 2009; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.0.1_p5493.ebuild, +gcc-apple-4.2.1_p5574.ebuild:
Version bumps to Developer Tools 3.1.3 versions

01 Jun 2009; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5566-r2.ebuild,
+files/gcc-apple-4.2.1_p5566-x86_64-defines.patch:
Add patch for x86_64-apple-darwin* support

01 May 2009; Fabian Groffen <grobian@gentoo.org>
files/gcc-apple-4.2.1-gfortran.patch:
Fix fortran support for powerpc targets

*gcc-apple-4.2.1_p5566-r2 (26 Mar 2009)
*gcc-apple-4.0.1_p5490-r2 (26 Mar 2009)

26 Mar 2009; Fabian Groffen <grobian@gentoo.org> metadata.xml,
-gcc-apple-4.0.1_p5490-r1.ebuild, +gcc-apple-4.0.1_p5490-r2.ebuild,
-gcc-apple-4.2.1_p5566-r1.ebuild, +gcc-apple-4.2.1_p5566-r2.ebuild:
Bump for fortran support in gcc-apple-4.2.1 and search path fixes mostly for
libtool

26 Mar 2009; Fabian Groffen <grobian@gentoo.org>
+files/gcc-apple-4.2.1-prefix-search-dirs.patch,
gcc-apple-4.0.1_p5490-r1.ebuild, gcc-apple-4.2.1_p5566-r1.ebuild:
Add prefix search path patch by Heiko Przybyl. No revbump yet, as more
changes are pending.

07 Mar 2009; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5490-r1.ebuild, gcc-apple-4.2.1_p5566-r1.ebuild:
Remove libiberty.a, it is not needed and it conflicts with slots

*gcc-apple-4.2.1_p5566-r1 (07 Mar 2009)
*gcc-apple-4.0.1_p5490-r1 (07 Mar 2009)

07 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-gcc-apple-4.0.1_p5490.ebuild, +gcc-apple-4.0.1_p5490-r1.ebuild,
-gcc-apple-4.2.1_p5566.ebuild, +gcc-apple-4.2.1_p5566-r1.ebuild:
Revert back to using --enable-version-specific-runtime-libs instead of
--libdir to make sure we get a correct include path for g++, bug #255315

18 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-gcc-apple-4.0.1_p5363-r1.ebuild, -gcc-apple-4.0.1_p5465-r1.ebuild,
-gcc-apple-4.0.1_p5484.ebuild, -gcc-apple-4.0.1_p5488.ebuild,
-gcc-apple-4.2.1_p5564.ebuild:
Remove old

30 Dec 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5564.ebuild, gcc-apple-4.2.1_p5566.ebuild:
Fix nasty problem caught by fafhrd in #gentoo-prefix: don't overwrite
/dev/null, that truely ain't cool

*gcc-apple-4.2.1_p5566 (21 Dec 2008)
*gcc-apple-4.0.1_p5490 (21 Dec 2008)

21 Dec 2008; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.0.1_p5490.ebuild, +gcc-apple-4.2.1_p5566.ebuild:
Version bump to Xcode Tools 3.1.2

16 Nov 2008; Fabian Groffen <grobian@gentoo.org>
files/gcc-apple-4.2.1-dsymutil.patch:
Remove stray }, according to John Gibson on alt ML

10 Nov 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5564.ebuild:
Add fix from David Hubbard to get around a bootstrapping problem on 10.4/x86

09 Nov 2008; Fabian Groffen <grobian@gentoo.org>
+files/gcc-apple-4.2.1-dsymutil.patch, gcc-apple-4.2.1_p5564.ebuild:
Add patch for 10.4/x86 peeps, thanks David Hubbard for the research

12 Oct 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5465-r1.ebuild, gcc-apple-4.0.1_p5484.ebuild,
gcc-apple-4.0.1_p5488.ebuild, gcc-apple-4.2.1_p5564.ebuild:
Fix double prefix errors, bad me

12 Oct 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5465-r1.ebuild, gcc-apple-4.0.1_p5484.ebuild,
gcc-apple-4.0.1_p5488.ebuild, gcc-apple-4.2.1_p5564.ebuild:
Don't remove install-tools, it causes hickups

*gcc-apple-4.0.1_p5488 (12 Oct 2008)

12 Oct 2008; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.0.1_p5488.ebuild:
Bump 4.0.1 to revision of iPhone 2.1 + SDK

11 Oct 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5465-r1.ebuild, gcc-apple-4.0.1_p5484.ebuild,
gcc-apple-4.2.1_p5564.ebuild:
Align with toolchain.eclass, do create versioned links, e.g. gcc-4.2.1

08 Oct 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-3.5.0_p3506-r1.ebuild, gcc-apple-4.0.1_p5363-r1.ebuild,
gcc-apple-4.0.1_p5465-r1.ebuild, gcc-apple-4.0.1_p5484.ebuild,
gcc-apple-4.2.1_p5564.ebuild:
Change dep from odcctools to binutils-apple

*gcc-apple-4.2.1_p5564 (21 Aug 2008)

21 Aug 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5484.ebuild, -gcc-apple-4.2.1_p5553.ebuild,
+gcc-apple-4.2.1_p5564.ebuild:
Version bump to Xcode Tools 3.1

*gcc-apple-4.0.1_p5484 (20 Jun 2008)

20 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-gcc-apple-4.0.1_p5483.ebuild, +gcc-apple-4.0.1_p5484.ebuild:
Bump to iPhone SDK Beta 7

*gcc-apple-4.2.1_p5553 (28 Mar 2008)
*gcc-apple-4.0.1_p5470 (28 Mar 2008)

28 Mar 2008; Fabian Groffen <grobian@gentoo.org>
files/gcc-apple-4.0.1_p5465-default-altivec.patch,
+gcc-apple-4.0.1_p5470.ebuild, +gcc-apple-4.2.1_p5553.ebuild:
Bump to Xcode Tools 3.1 Beta version

07 Mar 2008; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5465-r1.ebuild, -gcc-apple-4.0.1_p5465-r2.ebuild,
gcc-apple-4.2.1_p5531.ebuild:
Cleaned up latest 4.0.1 and 4.2.1 ebuilds. Don't do multilib any more, its
broken by (partially our) design and quite useless. Removed -r2 as it
was not a good idea.

*gcc-apple-4.0.1_p5465-r2 (02 Mar 2008)

02 Mar 2008; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.0.1_p5465-r2.ebuild:
Add new revision (masked) that puts the libs by itself in usr/lib, which we
move out of the way and gcc-config should move back again.

20 Jan 2008; Elias Pipping <pipping@gentoo.org>
files/gcc-apple-4.2.1-texinfo.patch, gcc-apple-4.2.1_p5531.ebuild,
gcc-apple-4.2.1_p5531.ebuild:
enable manpages while not breaking libgomp

*gcc-apple-4.0.1_p5465-r1 (12 Jan 2008)

12 Jan 2008; Fabian Groffen <grobian@gentoo.org>
+files/gcc-apple-4.0.1_p5465-default-altivec.patch,
-files/gcc-apple-5363-native-64bits.patch, -gcc-apple-4.0.1_p5465.ebuild,
+gcc-apple-4.0.1_p5465-r1.ebuild:
Add a patch to have 10.5's gcc default to AltiVec like 10.4's gcc did, as it
causes too much trouble

09 Nov 2007; Elias Pipping <pipping@gentoo.org>
gcc-apple-4.0.1_p5465.ebuild:
re-enable multilib on 64bit systems

06 Nov 2007; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5465.ebuild:
Set odcctools dependency to the 10.5 released one for 4.0.1_p5465, otherwise
it won't compile. Marked ~ppc-macos.

05 Nov 2007; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5363-r1.ebuild, gcc-apple-4.0.1_p5465.ebuild,
gcc-apple-4.2.1_p5531.ebuild:
Cleaned up ebuilds, keyworded 4.2.1_p5531 ~ppc-macos, compiles on 10.4 after
removing any -m* flags.

*gcc-apple-4.2.0_p5531 (02 Nov 2007)
*gcc-apple-4.0.1_p5465 (02 Nov 2007)

02 Nov 2007; Fabian Groffen <grobian@gentoo.org>
+gcc-apple-4.0.1_p5465.ebuild, +gcc-apple-4.2.0_p5531.ebuild:
Adding gcc-apple versions as released in 10.5, both don't compile on 10.4,
removed all keywords

19 Oct 2007; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5363-r1.ebuild:
Slight change to make gcc use Darwin libtool also in a cross-compile
environment.

10 Dec 2006; Fabian Groffen <grobian@gentoo.org> +metadata.xml:
Add metadata.xml

24 Nov 2006; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.0.1_p5363-r1.ebuild:
Don't install libiberty.a as this prevents installing multiple compilers
and isn't stricktly necessary.

*gcc-apple-4.0.1_p5363-r1 (23 Nov 2006)
*gcc-apple-3.5.0_p3506-r1 (23 Nov 2006)

23 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-gcc-apple-3.3_p1819.ebuild, -gcc-apple-3.5.0_p3506.ebuild,
+gcc-apple-3.5.0_p3506-r1.ebuild, -gcc-apple-4.0.1_p5363.ebuild,
+gcc-apple-4.0.1_p5363-r1.ebuild:
Removed 3.3 as it doesn't compile anyway, fixed 3.5.0 and 4.0.1 to use
--enable-version-specific-runtime-libs which installs runtime-libs, such as
libstdc++ and libgcc_s into usr/lib/${CHOST}/gcc/${VER}

*gcc-apple-4.0.1_p5363 (10 Nov 2006)
*gcc-apple-3.5.0_p3506 (10 Nov 2006)
*gcc-apple-3.3_p1819 (10 Nov 2006)

10 Nov 2006; Fabian Groffen <grobian@gentoo.org>
+files/gcc-apple-5363-native-64bits.patch, +gcc-apple-3.3_p1819.ebuild,
+gcc-apple-3.5.0_p3506.ebuild, +gcc-apple-4.0.1_p5363.ebuild,
-gcc-apple-5247.ebuild, -gcc-apple-5341.ebuild, -gcc-apple-5341-r2.ebuild,
-gcc-apple-5363.ebuild:
New organisation of Apple's GCC ebuilds. Ebuilds now carry the GCC
version in their name. All ebuilds rely on gcc-config, and appropriate
slotting is applied.

18 changes: 18 additions & 0 deletions sys-devel/gcc-apple/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
AUX gcc-apple-4.0.1_p5465-default-altivec.patch 1381 RMD160 e2c62e9cd060538f1ec03cef6487031e7ac88607 SHA1 01131175af3ca748494057f3660947e1d969149f SHA256 699dfea402a5a2d80f8374254a36fc7552f32b5fc25c1d15d9b88b7742874f09
AUX gcc-apple-4.2.1-autoconf-m4-precious.patch 339 RMD160 4f200f959cddc9877e83a015e3d8b9f87329712c SHA1 be014e546b4ae6c7e523e60c59c100ab6d6571b7 SHA256 1e95837e5b60036fd8b1aad16c3b1847225320da40a3437736166a2f5bc0032a
AUX gcc-apple-4.2.1-gfortran.patch 1745 RMD160 d0adb5edc1a6805a915c36e3ae89d61f57c49a97 SHA1 e831cd60aec04c5e27752b9522df584e11da8463 SHA256 aaaaa9f95e8d9c100298ddff6b64480c73cd8463c32ab7b748780036ad508011
AUX gcc-apple-4.2.1-inline-asm.patch 955 RMD160 5991da80a5b1c8757cff3be8fc04949e795f2787 SHA1 5fbb63447594b04c16e12085cd72002657aecc85 SHA256 abd3e20f84bd15585350d034883fa9728691c33164b55370a8d3b984de910e1f
AUX gcc-apple-4.2.1-prefix-search-dirs.patch 1053 RMD160 0b723b244efe7a46967dbd16a73df8b621582ecc SHA1 52b6a60095287b49252b986938192420fe982f2d SHA256 8f71661b144df92cd9a924b54cbd11a28de0b7ddc258a489bd1e1913e7d4a208
AUX gcc-apple-4.2.1-texinfo.patch 1110 RMD160 98030bc2d0d561a4f077b15d9eec8c9386e7d8bb SHA1 88b484beec786625ad4b159169c17531ed86e9e1 SHA256 1efd6ac46557feb01b7c28b214209ed3eab4714d91b6cbdf8701801ff53d545d
AUX gcc-apple-4.2.1_p5566-x86_64-defines.patch 924 RMD160 6d993fd25f1da67f3b7660cbbce9ede0050d4ee8 SHA1 871e3ad6bb4acdc8d7dd256705b8117a1019d292 SHA256 1dd93e0c3bbd78427d75c630ca4ca87fb784da56e2c7b61c638b44d2af97bb29
AUX gcc-apple-4.2.1_p5646-gfortran.patch 38284 RMD160 2379ea8f80465854796fcf6b939cd61f1a1a6657 SHA1 bac726cf67b43f00eb1d6a3e0670570ae24513d8 SHA256 c909a792b4e3ea76cbba6d8aefd712ef98506bd4e3dd275a144e5ed272c2ae22
AUX gcc-apple-4.2.1_p5666-dsymutil.patch 916 RMD160 1e7e8b439a26578ea8444e028abff3370417c19e SHA1 3d8e9dd5c9f3ce4d9d8e93129286cbc457c9696a SHA256 48d69f89d7847605b755bf29538dc8dc25c6ed9f33618a6e4841634d53abace1
AUX libstdc++-16.patch 253 RMD160 d1014fce3e5f56126d7a8ff647ee37e159858665 SHA1 1848bdefe769c0bb78653389c1ca2d35b4cbf4ee SHA256 f037576ba363256c61979eb68a2c1dff24445e8c5f403a729bead2c7db1f0314
DIST gcc-5666.3.tar.gz 19367320 RMD160 a01d000f89c0e89dd0079dcd202bba7629ba78dc SHA1 292a0cfcfdc061cb083658efd9a3812a120a1f50 SHA256 6c46f4376d11ada5be0cfc3894b9296edf574af3c616ab71803ea78edfd7015b
DIST gcc-fortran-4.2.4.tar.bz2 905688 RMD160 83694f8140dfd6b642449f2b262153a74e983c73 SHA1 7b476983f8b8405a456b30704cd91c7b238381c9 SHA256 6fc2056cd62921b2859381749710af765a46877bd46f9fe5ef6fab0671c47e04
DIST libstdcxx-16.tar.gz 64695692 RMD160 c7e90a6091f89c08c3678fe149da9c38187fafcd SHA1 be03b0e08163286ff939643180bf49a90b749bc0 SHA256 a7d8041e50e110f5a503e188a05cb217f0c99c51f248a0a1387cc07a0b6f167f
DIST libstdcxx-39.tar.gz 117081330 RMD160 3ddba697f55590138592cc7c7d0a34f8775acb34 SHA1 7eb2c353525dc8756bc8e3bfcac3e7b47d688358 SHA256 aad6c0b7aa80b8117af1868d502f7aa4d042e5f33cada853a8ba75980391c6bb
EBUILD gcc-apple-4.2.1_p5666.ebuild 11437 RMD160 3053b8e47fab591a296ef8b5e6db1da3077c49f5 SHA1 8544bf652db2d688d05b6126de5bd57ac2c24f22 SHA256 48fa066e582a7ca9623f07b9383ad963a3a1b75ba55980fe7a1315360b19cafb
MISC ChangeLog 12233 RMD160 fb8b904a677e88f1e728a8b96c67d5b3cf5254a0 SHA1 0655bb5cc09ed7da6b336a249a01d26a85f30952 SHA256 70430dee2bd4a2711a17d9ace81122a381247f526a05320cb358d76817105bd3
MISC gcc-apple-4.2.1_p5666.ebuild~ 11450 RMD160 8e20576c7e036c56aadb1357f7bf4e4a30826b8e SHA1 00d5ec5e02ff48d082a73eedf78beb408c688c3b SHA256 16f35a2e60fae79c86f5a815d555ebe9aadfa05fde8ac7253789f3c3d927cf51
MISC metadata.xml 440 RMD160 1e6092437bb8a8de48d6679a0802489000b2ee93 SHA1 37485b6a6b03cf46be3bd4d80e809b559c13330b SHA256 fe55903cd5820f6651e134125cfc4eeadb1322a6a06e286a246ef0f70c55c517
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
* reverse patch to gain 10.4 behaviour for AltiVec.

--- gcc/config/rs6000/rs6000-c.c
+++ gcc/config/rs6000/rs6000-c.c
@@ -245,22 +245,22 @@
builtin_define ("__bool=__attribute__((altivec(bool__))) unsigned");

/* APPLE LOCAL begin AltiVec */
+ builtin_define ("vector=vector");
+ builtin_define ("pixel=pixel");
+ builtin_define ("_Bool=_Bool");
+ builtin_define ("bool=bool");
+ init_vector_keywords (pfile);
+
+ /* Indicate that the compiler supports Apple AltiVec syntax,
+ including context-sensitive keywords. */
if (rs6000_altivec_pim)
{
- builtin_define ("vector=vector");
- builtin_define ("pixel=pixel");
- builtin_define ("_Bool=_Bool");
- builtin_define ("bool=bool");
- init_vector_keywords (pfile);
-
- /* Indicate that the compiler supports Apple AltiVec syntax,
- including context-sensitive keywords. */
builtin_define ("__APPLE_ALTIVEC__");
builtin_define ("vec_step(T)=(sizeof (__typeof__(T)) / sizeof (__typeof__(T) __attribute__((altivec(element__)))))");
-
- /* Enable context-sensitive macros. */
- cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand;
}
+
+ /* Enable context-sensitive macros. */
+ cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand;
/* APPLE LOCAL end AltiVec */
}
if (TARGET_SPE)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
http://sourceware.org/ml/libffi-discuss/2009/msg00289.html

--- libgomp/configure.ac
+++ libgomp/configure.ac
@@ -110,6 +110,7 @@
m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
m4_define([_AC_ARG_VAR_PRECIOUS],[])
AC_PROG_CC
+m4_undefine([_AC_ARG_VAR_PRECIOUS])
m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])

AC_SUBST(CFLAGS)
Loading

0 comments on commit 4d9b55e

Please sign in to comment.