kbuild: Set cflags before including arch Makefile
Please note that this patch, even if UML-related, should be immediately discussed for merging in mainline, if possible. The UML patch to handle this has therefore been separated. Patch purpose: If arch/$(ARCH)/Makefile is included before adding -O2 (and the rest) to CFLAGS, I must duplicate the addition of it to USER_CFLAGS for UML. So let's fix this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing
Please register or sign in to comment