toolchain: update toolchain setting from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
This commit is contained in:
@@ -26,11 +26,15 @@ TOOLCHAIN_WRAPPER_OPTS += -Wl,--build-id=none
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
|
||||
TOOLCHAIN_WRAPPER_OPTS += -ffile-prefix-map=$(BASE_DIR)=buildroot
|
||||
else
|
||||
TOOLCHAIN_WRAPPER_OPTS += -fdebug-prefix-map=$(BASE_DIR)=buildroot
|
||||
TOOLCHAIN_WRAPPER_OPTS += -D__FILE__=\"\" -D__BASE_FILE__=\"\" -Wno-builtin-macro-redefined
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_7),)
|
||||
TOOLCHAIN_WRAPPER_OPTS += -DBR_NEED_SOURCE_DATE_EPOCH
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_6),)
|
||||
TOOLCHAIN_WRAPPER_OPTS += -gno-record-gcc-switches
|
||||
endif
|
||||
endif
|
||||
|
||||
# Disable -ftree-loop-distribute-patterns on microblaze to
|
||||
|
||||
Reference in New Issue
Block a user