[Buildroot] [git commit] package/gcc: fix ARC failure to build in 2 phases.

From: Thomas Petazzoni <hidden>
Date: 2015-07-02 21:44:28
Subsystem: the rest · Maintainer: Linus Torvalds

commit: http://git.buildroot.net/buildroot/commit/?id=ba0cbd021c63ec32c537bb9e207ab9d0b548bf4d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

When working with GCC initial at override source dir mode the
HOST_GCC_INITIAL_POST_PATCH_HOOKS is not called and compilation failes.
The solution is to use HOST_GCC_INITIAL_POST_RSYNC_HOOKS since this hook
is being called at override source dir mode.

Signed-off-by: Tal Zilcer <redacted>
Reviewed-by: "Yann E. MORIN" <redacted>
Signed-off-by: Thomas Petazzoni <redacted>
---
 package/gcc/gcc-initial/gcc-initial.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/gcc/gcc-initial/gcc-initial.mk b/package/gcc/gcc-initial/gcc-initial.mk
index 0fa2353..6bb7997 100644
--- a/package/gcc/gcc-initial/gcc-initial.mk
+++ b/package/gcc/gcc-initial/gcc-initial.mk
@@ -34,6 +34,7 @@ define HOST_GCC_INITIAL_DISABLE_LIBGMON
 		$(@D)/libgcc/config.host
 endef
 HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON
+HOST_GCC_INITIAL_POST_RSYNC_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON
 endif
 
 HOST_GCC_INITIAL_CONF_OPTS = \
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help