summaryrefslogtreecommitdiff
path: root/gcc/gcc3-build.inc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc3-build.inc')
-rw-r--r--gcc/gcc3-build.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc3-build.inc b/gcc/gcc3-build.inc
index 1e1ad898b3..7d3e0169da 100644
--- a/gcc/gcc3-build.inc
+++ b/gcc/gcc3-build.inc
@@ -29,10 +29,10 @@ EXTRA_OECONF_PATHS = "--with-local-prefix=${prefix}/local \
EXTRA_OECONF_DEP = ""
EXTRA_OECONF_uclibc = "--disable-__cxa_atexit"
EXTRA_OECONF_glibc = "--enable-__cxa_atexit"
-EXTRA_OECONF += "${@get_gcc_fpu_setting(oe, d)}"
+EXTRA_OECONF += "${@get_gcc_fpu_setting(bb, d)}"
CPPFLAGS = ""
-def get_gcc_fpu_setting(oe, d):
+def get_gcc_fpu_setting(bb, d):
if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
return "--with-float=soft"
return ""