From eab58ff0e9bc707c2809261b44d907e809057796 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 3 Jun 2022 15:11:01 +0200 Subject: [PATCH] software/common.mak: Remove GCC_PATH introduced by #1279 since create lots of warning with regular toolchains. --- litex/soc/software/common.mak | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litex/soc/software/common.mak b/litex/soc/software/common.mak index 0b636d28a..280d3b3bd 100644 --- a/litex/soc/software/common.mak +++ b/litex/soc/software/common.mak @@ -14,7 +14,6 @@ CX_normal := $(CCACHE) clang++ -target $(TRIPLE) -integrated-as else CC_normal := $(CCACHE) $(TARGET_PREFIX)gcc -std=gnu99 CX_normal := $(CCACHE) $(TARGET_PREFIX)g++ -GCC_PATH := $(patsubst %/libgcc.a,%,$(shell $(CC) -print-libgcc-file-name)) endif AR_normal := $(TARGET_PREFIX)gcc-ar LD_normal := $(TARGET_PREFIX)ld @@ -56,9 +55,6 @@ INCLUDES = -I$(PICOLIBC_DIRECTORY)/newlib/libc/tinystdio \ -I$(BUILDINC_DIRECTORY)/../libc \ -I$(CPU_DIRECTORY) COMMONFLAGS = $(DEPFLAGS) -Os $(CPUFLAGS) -g3 -fomit-frame-pointer -Wall -fno-builtin -fno-stack-protector $(INCLUDES) -ifneq (,$(GCC_PATH)) -COMMONFLAGS += -nostdinc -I$(GCC_PATH)/include -I$(GCC_PATH)/include-fixed -endif ifneq ($(CPUFAMILY), arm) COMMONFLAGS += -fexceptions endif