aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/gcc-crosssdk-initial_4.9.bbappend
blob: cdbac0ded3ad72cffa9c5c8fd42d50c7509dbb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

LTO_darwin = "--disable-lto"

do_install_append_darwin () {
	ln -s  ${STAGING_DIR_TARGET}/${target_exec_prefix}/ ${D}/${exec_prefix}/${TARGET_SYS}
}

sysroot_stage_all_append_darwin () {
	sysroot_stage_dir ${D}${exec_prefix}/${TARGET_SYS} ${SYSROOT_DESTDIR}${exec_prefix}/${TARGET_SYS}
}


do_compile_append_darwin () {
	oe_runmake all-target-libgcc
}
do_install_append_darwin () {
	oe_runmake 'DESTDIR=${D}' install-target-libgcc
}