diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2009-02-16 10:03:32 -0500 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2009-02-16 10:03:32 -0500 |
commit | d512927cbf42dc9a3302ecac790a18d397ea012f (patch) | |
tree | 2d624d29a763e5f9ae9b618148cfc6063e6cd50e /packages/gcc | |
parent | 68e1ea7aeddc4f7efc621558dfd424cd2fe22674 (diff) | |
parent | 3fe1150b7afa91ee59dfa6346c1f7387638b7817 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/gcc-common.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc index 73bc327507..9e70af71a5 100644 --- a/packages/gcc/gcc-common.inc +++ b/packages/gcc/gcc-common.inc @@ -7,8 +7,11 @@ inherit autotools gettext FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" +# When making a Canadian SDK, we use these files too to make the compiler +# for building for the new host part. So only obey TARGET_FPU for the +# real target. def get_gcc_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ] and bb.data.getVar('TARGET_OS', d, 1) in [ 'linux' ]: return "--with-float=soft" return "" |