summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/Makefile')
-rw-r--r--nuttx/arch/sh/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/Makefile b/nuttx/arch/sh/src/Makefile
index 56fe3ac5e..fdf6cc852 100644
--- a/nuttx/arch/sh/src/Makefile
+++ b/nuttx/arch/sh/src/Makefile
@@ -59,7 +59,7 @@ LDLIBS = $(patsubst lib%,-l%,$(basename $(notdir $(LINKLIBS))))
BOARDDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src/board
-LIBGCC = ${shell $(CC) -print-libgcc-file-name}
+LIBGCC = ${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name}
VPATH = chip:common