From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils/files: elfutils-0.131-gnu-inline.patch |
Date: | Sat, 10 May 2008 12:08:29 |
Message-Id: | E1JunsI-0003IF-K5@stork.gentoo.org |
1 | vapier 08/05/10 12:08:26 |
2 | |
3 | Modified: elfutils-0.131-gnu-inline.patch |
4 | Log: |
5 | Fix building with no optimization #220641. |
6 | (Portage version: 2.2_pre5) |
7 | |
8 | Revision Changes Path |
9 | 1.2 dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: elfutils-0.131-gnu-inline.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/files/elfutils-0.131-gnu-inline.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- elfutils-0.131-gnu-inline.patch 20 Apr 2008 08:20:05 -0000 1.1 |
22 | +++ elfutils-0.131-gnu-inline.patch 10 May 2008 12:08:26 -0000 1.2 |
23 | @@ -58,13 +58,13 @@ |
24 | @@ -633,6 +633,12 @@ |
25 | |
26 | /* Inline optimizations. */ |
27 | - #ifdef __OPTIMIZE__ |
28 | -+# if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) |
29 | -+# define __gnu_inline inline __attribute__ ((__gnu_inline__)) |
30 | -+# else |
31 | -+# define __gnu_inline inline |
32 | -+# endif |
33 | ++#if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) |
34 | ++# define __gnu_inline inline __attribute__ ((__gnu_inline__)) |
35 | ++#else |
36 | ++# define __gnu_inline inline |
37 | ++#endif |
38 | + |
39 | + #ifdef __OPTIMIZE__ |
40 | /* Return attribute code of given attribute. */ |
41 | __libdw_extern_inline unsigned int |
42 | dwarf_whatattr (Dwarf_Attribute *attr) |
43 | |
44 | |
45 | |
46 | -- |
47 | gentoo-commits@l.g.o mailing list |