Skip to contentSkip to conversation

gcc: make compiler to search build directory before standard system

PATCH New [email protected] 1 participant 2 messages Feb 20, 2013

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index 8735e48..d353bad 100644
@@ -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
index 9954375..ff924e8 100644
@@ -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