Skip to content

Commit

Permalink
package/gcc: don't override a variable
Browse files Browse the repository at this point in the history
Signed-off-by: Yann E. MORIN <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
yann-morin-1998 authored and arnout committed Oct 27, 2019
1 parent 3934a28 commit a940b5f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package/gcc/gcc-final/gcc-final.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,16 @@ HOST_GCC_FINAL_CONF_OPTS = \
--enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \
--with-build-time-tools=$(HOST_DIR)/$(GNU_TARGET_NAME)/bin

HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib*
# The kernel wants to use the -m4-nofpu option to make sure that it
# doesn't use floating point operations.
ifeq ($(BR2_sh4)$(BR2_sh4eb),y)
HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4,m4-nofpu"
# check-package OverriddenVariable
HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4*
endif
ifeq ($(BR2_sh4a)$(BR2_sh4aeb),y)
else ifeq ($(BR2_sh4a)$(BR2_sh4aeb),y)
HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4a,m4a-nofpu"
# check-package OverriddenVariable
HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4*
else
HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib*
endif

ifeq ($(BR2_GCC_SUPPORTS_LIBCILKRTS),y)
Expand Down

0 comments on commit a940b5f

Please sign in to comment.