From ba0cbd021c63ec32c537bb9e207ab9d0b548bf4d Mon Sep 17 00:00:00 2001 From: Tal Zilcer Date: Thu, 2 Jul 2015 17:44:54 +0300 Subject: [PATCH] package/gcc: fix ARC failure to build in 2 phases. 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 Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/gcc/gcc-initial/gcc-initial.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/gcc-initial/gcc-initial.mk b/package/gcc/gcc-initial/gcc-initial.mk index 0fa235336b..6bb7997b9f 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 = \