Makefile: adjust compilation flags order
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
464607dc90
commit
0e823eadca
2
Makefile
2
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)), $^)
|
||||
|
Loading…
Reference in New Issue
Block a user