diff options
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags index cff935ff5..6ff4d7239 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -58,7 +58,8 @@ CFLAGS += $(call cc-option,-fno-builtin-strlen -fomit-frame-pointer -ffunction-s | |||
58 | CFLAGS += $(call cc-option,-fno-guess-branch-probability,) | 58 | CFLAGS += $(call cc-option,-fno-guess-branch-probability,) |
59 | CFLAGS += $(call cc-option,-funsigned-char,) | 59 | CFLAGS += $(call cc-option,-funsigned-char,) |
60 | 60 | ||
61 | ifneq ($(CC),clang) | 61 | ifeq ($(CONFIG_STATIC_LIBGCC),y) |
62 | # Disable it, for example, if you get | ||
62 | # "clang-9: warning: argument unused during compilation: '-static-libgcc'" | 63 | # "clang-9: warning: argument unused during compilation: '-static-libgcc'" |
63 | CFLAGS += $(call cc-option,-static-libgcc,) | 64 | CFLAGS += $(call cc-option,-static-libgcc,) |
64 | endif | 65 | endif |