From 78a8d7bbd324e3b27ecd7905735348861043a222 Mon Sep 17 00:00:00 2001 From: Alejandro Enedino Hernandez Samaniego Date: Thu, 4 Oct 2018 14:23:46 -0700 Subject: Adds gcc bbappend to fix configure options, and enable --sysroot behavior Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Manjukumar Matha --- .../recipes-standalone/gcc/gcc-cross_%.bbappend | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend diff --git a/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend new file mode 100644 index 00000000..bfcda3d0 --- /dev/null +++ b/meta-xilinx-standalone/recipes-standalone/gcc/gcc-cross_%.bbappend @@ -0,0 +1,18 @@ +# By using tclibc-baremetal we loose sysroot functionality due to some +# append/override behavior We need to get that back , the following append +# overrides everything on EXTRA_OECONF for gcc cross target it avoids +# overlapping with crt0 because of --enable-linker-id from EXTRA_OECONF + +EXTRA_OECONF_BASE_pn-gcc-cross-${TARGET_ARCH}_append = " \ + ${LTO} \ + ${SSP} \ + --enable-libitm \ + --disable-bootstrap \ + --disable-libmudflap \ + --with-system-zlib \ + --with-ppl=no \ + --with-cloog=no \ + --enable-checking=release \ + --enable-cheaders=c_global \ + --without-isl \ +" -- cgit v1.2.3-54-g00ecf