libcdio: Workaround gcc ICE in thumb code when compiling with -O1
authorKhem Raj <raj.khem@gmail.com>
Sun, 10 Oct 2010 06:51:18 +0000 (23:51 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 10 Oct 2010 07:06:32 +0000 (00:06 -0700)
* This is a known bug in GCC 4.5 when compiling for thumb mode
  thats why we only override it for thumb
  DEBUG_OPTIMIZATION_thumb = "-Os -fno-omit-frame-pointer -g

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/libcdio/libcdio.inc

index 1ccc791..4125cf6 100644 (file)
@@ -21,3 +21,4 @@ python populate_packages_prepend () {
         glibdir = bb.data.expand('${libdir}', d)
         do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
 }
+DEBUG_OPTIMIZATION_thumb = "-Os -fno-omit-frame-pointer -g"