summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-09-29 22:47:18 +0000
committerDavid Holm <dholm@gentoo.org>2003-09-29 22:47:18 +0000
commitb21f09d00080831d213de0a95b042fdf1da90380 (patch)
tree0bd1463cfc434ff9f51c3a8710e0c7f816e97f1e /dev-lang/gnat
parentAdded gcc3 patch .Closes #27519. (diff)
downloadhistorical-b21f09d00080831d213de0a95b042fdf1da90380.tar.gz
historical-b21f09d00080831d213de0a95b042fdf1da90380.tar.bz2
historical-b21f09d00080831d213de0a95b042fdf1da90380.zip
Changed CFLAGS as suggested by Maxim Reznik <max1@mbank.com.ua>
Diffstat (limited to 'dev-lang/gnat')
-rw-r--r--dev-lang/gnat/ChangeLog6
-rw-r--r--dev-lang/gnat/Manifest4
-rw-r--r--dev-lang/gnat/gnat-3.15p-r3.ebuild14
3 files changed, 14 insertions, 10 deletions
diff --git a/dev-lang/gnat/ChangeLog b/dev-lang/gnat/ChangeLog
index c908b1a0e4b2..11fa0a71c2c6 100644
--- a/dev-lang/gnat/ChangeLog
+++ b/dev-lang/gnat/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/gnat
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/ChangeLog,v 1.12 2003/09/29 17:07:54 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/ChangeLog,v 1.13 2003/09/29 22:47:13 dholm Exp $
+
+ 30 Sep 2003; David Holm <dholm@gentoo.org> gnat-3.15p-r3.ebuild:
+ Compile gnat with "-O2 -gnatpgn" and without "-fPIC" (for static libs) as
+ suggested by Maxim Reznik <max1@mbank.com.ua>. Validated with acats4gnat 0.7.
29 Sep 2003; David Holm <dholm@gentoo.org> gnat-3.15p-r3.ebuild:
Fixed a minor build problem on x86.
diff --git a/dev-lang/gnat/Manifest b/dev-lang/gnat/Manifest
index fb92411104fa..b3b88cf862e4 100644
--- a/dev-lang/gnat/Manifest
+++ b/dev-lang/gnat/Manifest
@@ -1,11 +1,11 @@
-MD5 0f6cbb0a5026032e188088ca66bb0db2 ChangeLog 2725
+MD5 0609268309d1eefb479f0434bddbf8cf ChangeLog 2949
MD5 332d79b0cddb0dfcb80bc77487f36918 gnat-3.14p.ebuild 5673
MD5 6deb19eecc4f53aba08a7aaa89e80d0d gnat-3.15p-r1.ebuild 5468
MD5 2f454961e48b21552f1a9bd35b83a8dc gnat-3.15p-r2.ebuild 4879
MD5 f44a1458554adef6e9794dc5d4fbb719 gnat-3.15p.ebuild 5667
MD5 9dd49db5f4cbf1afbe367cb529a22b78 gnat-5.0_pre20030822.ebuild 4264
MD5 4b8299d1078b0c3a88969f43c9ae6a64 metadata.xml 927
-MD5 25c584c08aa2343ea3fc7019ce47a7b2 gnat-3.15p-r3.ebuild 5412
+MD5 d758dc1c2c9972f4bea8b0461731cc46 gnat-3.15p-r3.ebuild 5475
MD5 59500f81e672cff22232586fc278547b files/digest-gnat-3.14p 213
MD5 737e39907fb4f28640a1b4cbbc1cdc78 files/digest-gnat-3.15p 216
MD5 419f46c7076e98eee00cf04ce2199ab0 files/digest-gnat-3.15p-r1 288
diff --git a/dev-lang/gnat/gnat-3.15p-r3.ebuild b/dev-lang/gnat/gnat-3.15p-r3.ebuild
index ac04da1ac465..6bd615d1ffbe 100644
--- a/dev-lang/gnat/gnat-3.15p-r3.ebuild
+++ b/dev-lang/gnat/gnat-3.15p-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-3.15p-r3.ebuild,v 1.2 2003/09/29 17:07:54 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-3.15p-r3.ebuild,v 1.3 2003/09/29 22:47:13 dholm Exp $
DESCRIPTION="The GNU Ada Toolkit"
DEPEND="x86? ( >=app-shells/tcsh-6.0 )"
@@ -76,13 +76,13 @@ src_compile() {
# Compile it by first using the bootstrap compiler and then bootstrapping
# our own version. Finally compile the libraries and tools.
- make CC="gcc" CFLAGS="-O0" LANGUAGES="c ada gcov" || \
+ make CC="gcc" CFLAGS="-O2 -gnatpgn" LANGUAGES="c ada gcov" || \
die "Failed while running inital compilation!"
- make CC="gcc" CFLAGS="-O0" LANGUAGES="c ada gcov" bootstrap || \
+ make CC="gcc" CFLAGS="-O2 -gnatpgn" LANGUAGES="c ada gcov" bootstrap || \
die "Died while bootstrapping!"
- make CC="gcc" CFLAGS="-O0" GNATLIBCFLAGS="-O0" gnatlib-shared || \
- die "Failed to build the shared version of gnatlib!"
- make CC="gcc" CFLAGS="-O0" gnattools || \
+ make CC="gcc" CFLAGS="-O2 -gnatpgn" GNATLIBCFLAGS="-O2 -gnatpgn -fPIC" \
+ gnatlib-shared || die "Failed to build the shared version of gnatlib!"
+ make CC="gcc" CFLAGS="-O2 -gnatpgn" gnattools || \
die "Failed to build gnattools!"
}
@@ -100,7 +100,7 @@ src_install() {
touch "${D}/usr/lib/ada/gcc-lib/${CHOST}/2.8.1/include/float.h"
# Build and install the static version of gnatlib
- make CC="gcc" CFLAGS="-O0" GNATLIBCFLAGS="-O0 -fPIC" gnatlib ||
+ make CC="gcc" CFLAGS="-O2 -gnatpgn" GNATLIBCFLAGS="-O2 -gnatpgn" gnatlib ||
die "Failed while compiling static gnatlib!"
make prefix="${D}/usr" libdir="${D}/usr/lib/ada" \
LANGUAGES="c ada gcov" GCC_INSTALL_NAME=gnatgcc install-gnatlib ||