Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] rpm: fix build issue with gcc5
@ 2015-05-10 14:28 Armin Kuster
  2015-05-10 16:15 ` Khem Raj
  0 siblings, 1 reply; 18+ messages in thread
From: Armin Kuster @ 2015-05-10 14:28 UTC (permalink / raw)
  To: openembedded-core

| tset.o:(.debug_loc+0xe8): undefined reference to `.LCL0'
| tset.o:(.debug_loc+0xf7): undefined reference to `.LCL0'

thanks Khem

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.14.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
index 03a24f0..22b111a 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
@@ -110,6 +110,9 @@ inherit autotools gettext
 
 acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
 
+FULL_OPTIMIZATION_powerpc_remove = "-O2"
+FULL_OPTIMIZATION_append_powerpc = " -Os "
+
 # Specify the default rpm macros in terms of adjustable variables
 rpm_macros = "%{_usrlibrpm}/macros:%{_usrlibrpm}/poky/macros:%{_usrlibrpm}/poky/%{_target}/macros:%{_etcrpm}/macros.*:%{_etcrpm}/macros:%{_etcrpm}/%{_target}/macros:~/.oerpmmacros"
 rpm_macros_class-native = "%{_usrlibrpm}/macros:%{_usrlibrpm}/poky/macros:%{_usrlibrpm}/poky/%{_target}/macros:~/.oerpmmacros"
-- 
2.3.5



^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-05-20 20:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10 14:28 [PATCH] rpm: fix build issue with gcc5 Armin Kuster
2015-05-10 16:15 ` Khem Raj
2015-05-10 22:03   ` Richard Purdie
2015-05-11 15:30     ` akuster808
2015-05-11 15:47     ` Khem Raj
2015-05-11 16:17       ` akuster808
2015-05-12  7:06     ` Richard Purdie
2015-05-12 14:57       ` Otavio Salvador
2015-05-12 15:15         ` Dan McGregor
2015-05-12 16:11         ` Khem Raj
2015-05-12 16:17       ` akuster808
2015-05-15 10:40       ` Richard Purdie
2015-05-15 16:25         ` Khem Raj
2015-05-15 16:45           ` akuster808
2015-05-15 16:48             ` Bruce Ashfield
2015-05-15 20:00               ` akuster808
2015-05-19 20:50         ` Bruce Ashfield
2015-05-20 20:42           ` Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox