summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-common.inc
blob: b066434cfdbc5cb0d952077379e722f7156191e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
LICENSE = "GPL"

inherit autotools gettext

def get_gcc_fpu_setting(bb, d):
    if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
        return "--with-float=soft"
    return ""