linux.inc : remove gcc 4.2.1 "fix" that breaks all modern kernel compiles
authorGraeme Gregory <dp@xora.org.uk>
Fri, 5 Mar 2010 23:03:41 +0000 (23:03 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 16 Jun 2010 09:10:04 +0000 (11:10 +0200)
modern avr32 kernels really need that -mno-pic

recipes/linux/linux.inc

index 982a532..e020589 100644 (file)
@@ -191,10 +191,6 @@ do_configure_prepend() {
                yes '' | oe_runmake oldconfig
 }
 
-do_configure_append_avr32() {
-        sed -i -e s:-mno-pic::g arch/avr32/Makefile
-}
-
 do_configure_append() {
         if test -e scripts/Makefile.fwinst ; then
                sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst