|
@@ -523,6 +523,10 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
|
|
|
# disable pointer signed / unsigned warnings in gcc 4.0
|
|
|
KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
|
|
|
|
|
|
+# Add user supplied AFLAGS and CFLAGS as the last assignments
|
|
|
+KBUILD_AFLAGS += $(AFLAGS)
|
|
|
+KBUILD_CFLAGS += $(CFLAGS)
|
|
|
+
|
|
|
# Use --build-id when available.
|
|
|
LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
|
|
|
$(call ld-option, -Wl$(comma)--build-id,))
|