From 0e823eadcaec2ed4a557d10a5058f423d07c5023 Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Mon, 30 Jan 2023 16:47:37 +0800 Subject: [PATCH] Makefile: adjust compilation flags order Signed-off-by: yinshengkai --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c4519c588..6e615c722 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ $(SYMTABSRC): $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_all) $(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@) $(SYMTABOBJ): %$(OBJEXT): %.c - $(call COMPILE, -fno-lto -fno-builtin $<, $@) + $(call COMPILE, $<, $@, -fno-lto -fno-builtin) $(BIN): $(SYMTABOBJ) $(call ARCHIVE_ADD, $(call CONVERT_PATH,$(BIN)), $^)