diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-05-10 12:08:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-05-10 12:08:26 +0000 |
commit | d736c1eff8abe53bb4dd525616ca486fa0142a4f (patch) | |
tree | c3b72f89d1c3cbb4e67d56978647f8fe7ae8ea31 /dev-libs | |
parent | Version bump. (diff) | |
download | gentoo-2-d736c1eff8abe53bb4dd525616ca486fa0142a4f.tar.gz gentoo-2-d736c1eff8abe53bb4dd525616ca486fa0142a4f.tar.bz2 gentoo-2-d736c1eff8abe53bb4dd525616ca486fa0142a4f.zip |
Fix building with no optimization #220641.
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/elfutils/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog index 3bcbba505868..5ea76b0a3671 100644 --- a/dev-libs/elfutils/ChangeLog +++ b/dev-libs/elfutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/elfutils # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.115 2008/05/10 12:05:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.116 2008/05/10 12:08:25 vapier Exp $ + + 10 May 2008; Mike Frysinger <vapier@gentoo.org> + files/elfutils-0.131-gnu-inline.patch: + Fix building with no optimization #220641. 10 May 2008; Mike Frysinger <vapier@gentoo.org> elfutils-0.131-r2.ebuild: Make sure we carry forward the PaX fix #219848. diff --git a/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch b/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch index 334e704a1817..324366cd4aef 100644 --- a/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch +++ b/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch @@ -58,13 +58,13 @@ http://bugs.gentoo.org/204610 @@ -633,6 +633,12 @@ /* Inline optimizations. */ - #ifdef __OPTIMIZE__ -+# if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) -+# define __gnu_inline inline __attribute__ ((__gnu_inline__)) -+# else -+# define __gnu_inline inline -+# endif ++#if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) ++# define __gnu_inline inline __attribute__ ((__gnu_inline__)) ++#else ++# define __gnu_inline inline ++#endif + + #ifdef __OPTIMIZE__ /* Return attribute code of given attribute. */ __libdw_extern_inline unsigned int dwarf_whatattr (Dwarf_Attribute *attr) |