gcc: make compiler to search build directory before standard system
cover gcc: make compiler to search build directory before standard system
The following changes since commit a5362de60c0051f16b88a40bd9cb41915bee0b0f:
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling (2013-02-19 14:37:44 -0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib gcc_search_build_dir_firstly
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gcc_search_build_dir_firstly
Roy.Li (1):
gcc: make compiler to search build directory before standard system
include directories
meta/recipes-devtools/gcc/gcc-4.7.inc | 2 +- meta/recipes-devtools/gcc/gcc_4.7.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/1 gcc: make compiler to search build directory before standard system include directories
If libunwind is compiled firstly, unwind.h from libunwind is installed into sysroot, compiling gcc will fail since it use wrong unwind.h, it should always use unwind.h under build directory.
--- meta/recipes-devtools/gcc/gcc-4.7.inc | 2 +- meta/recipes-devtools/gcc/gcc_4.7.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +1 -1
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r18" +PR = "r19" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.7.1
meta/recipes-devtools/gcc/gcc_4.7.bb +1 -1
@@ -2,4 +2,4 @@ require recipes-devtools/gcc/gcc-${PV}.inc require gcc-configure-target.inc require gcc-package-target.inc -ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}" +ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/"
Signature · 1 line
1.7.10.4