summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
blob: 7a1402f99339d6986f74bd3f9db5d34823ab48b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
inherit canadian-sdk

PR = "${INC_PR}.2"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"

PACKAGES = "${PN}"

require gcc-${PV}.inc

# Correct gmp / mpfr
DEPENDS = "gmp-canadian mpfr-canadian"

require gcc-configure-canadian-sdk.inc
require gcc-package-sdk.inc

SRC_URI_append = "file://fortran-cross-compile-hack.patch \
		  file://pr22133-mingw-path-fixup.patch \
		  file://pr33281-mingw-host-fragment.patch \
		  file://pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch \
		  file://canadian-build-modules-configure.patch \
"

EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
		--disable-libgomp --disable-libmudflap \
		--with-mpfr=${STAGING_LIBDIR}"