chiark / gitweb /
[PATCH] fix up segfaulting binaries with new klibc
[elogind.git] / Makefile
index 7c159b3d312f4c3de14f33c659ad9b358db6678b..ac60ade52a9b6ca32e28dc44717f67b5f16e332b 100644 (file)
--- 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     \