From b82fc8dcef5ff05fe76bce19c83857e5097ec868 Mon Sep 17 00:00:00 2001
From: Pavol Rusnak <stick@gk2.sk>
Date: Thu, 12 Jan 2017 20:32:43 +0100
Subject: [PATCH] stmhal: fix wrong usage of gcc -print-libgcc-file-name

---
 stmhal/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stmhal/Makefile b/stmhal/Makefile
index 03b00fbd3..f39818eb5 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -76,7 +76,7 @@ COPT += -Os -DNDEBUG
 endif
 
 # uncomment this if you want libgcc
-#LIBS += $(shell $(CC) -print-libgcc-file-name)
+#LIBS += $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
 
 SRC_LIB = $(addprefix lib/,\
 	libc/string0.c \
-- 
GitLab