* Use the -nostdinc++ to CXX fixing libstdc++ * Generate libgcc in gcc-cross, save the result and use in gcc-runtime * Fix the layout of the crt*.o files so the SDK compiler can find them Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
24 lines
558 B
BlitzBasic
24 lines
558 B
BlitzBasic
inherit cross-canadian
|
|
|
|
require gcc-${PV}.inc
|
|
require gcc-cross-canadian.inc
|
|
require gcc-configure-sdk.inc
|
|
require gcc-package-sdk.inc
|
|
|
|
PR = "r12"
|
|
|
|
DEPENDS += "gmp-nativesdk mpfr-nativesdk"
|
|
RDEPENDS_${PN} += "mpfr-nativesdk"
|
|
|
|
SYSTEMHEADERS = "/usr/include"
|
|
SYSTEMLIBS1 = "/usr/lib/"
|
|
|
|
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
|
|
--disable-libgomp --disable-libmudflap \
|
|
--with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix}"
|
|
|
|
# to find libmpfr
|
|
# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
|
|
|
|
PARALLEL_MAKE = ""
|