summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c159b3d31..ac60ade52a 100644
--- a/Makefile
+++ b/Makefile
@@ -188,7 +188,7 @@ ifeq ($(strip $(USE_KLIBC)),true)
CRT0 = $(KLIBC_DIR)/crt0.o
LIBC = $(ARCH_LIB_OBJS) $(LIB_OBJS) $(CRT0)
CFLAGS += $(WARNINGS) -nostdinc \
- $(OPTFLAGS) \
+ $(OPTFLAGS) $(REQFLAGS) \
-D__KLIBC__ -fno-builtin-printf \
-I$(KLIBC_FIXUPS_DIR) \
-include $(KLIBC_FIXUPS_DIR)/klibc_fixups.h \