um: clang: Strip out -mno-global-merge from USER_CFLAGS
authorDavid Gow <davidgow@google.com>
Thu, 3 Mar 2022 09:06:42 +0000 (17:06 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 11 Mar 2022 09:51:41 +0000 (10:51 +0100)
commit6580c5c18fb3df2b11c5e0452372f815deeff895
tree9c84177151f92c00749e5f3b90f44195192d6672
parent4ef5a0b2e1b806203831b0a7a044539f6627116a
um: clang: Strip out -mno-global-merge from USER_CFLAGS

The things built with USER_CFLAGS don't seem to recognise it as a
compiler option, and print a warning:
clang: warning: argument unused during compilation: '-mno-global-merge' [-Wunused-command-line-argument]

Fixes: 744814d2fa ("um: Allow builds with Clang")
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/Makefile