summaryrefslogtreecommitdiff
path: root/klibc/MCONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/MCONFIG')
-rw-r--r--klibc/MCONFIG2
1 files changed, 1 insertions, 1 deletions
diff --git a/klibc/MCONFIG b/klibc/MCONFIG
index c833499483..7a24b821ad 100644
--- a/klibc/MCONFIG
+++ b/klibc/MCONFIG
@@ -59,7 +59,7 @@ HOST_LIBS =
# Static library paths
CRT0 = $(KLIBOBJ)/crt0.o
KLIBC = $(KLIBOBJ)/libc.a
-LIBGCC = $(shell $(CC) --print-libgcc)
+LIBGCC = $(shell $(CC) $(REQFLAGS) $(OPTFLAGS) --print-libgcc)
# Shared library paths
CRTSHARED = $(KLIBOBJ)/interp.o