diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -523,6 +523,10 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) | |||
523 | # disable pointer signed / unsigned warnings in gcc 4.0 | 523 | # disable pointer signed / unsigned warnings in gcc 4.0 |
524 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) | 524 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) |
525 | 525 | ||
526 | # Add user supplied AFLAGS and CFLAGS as the last assignments | ||
527 | KBUILD_AFLAGS += $(AFLAGS) | ||
528 | KBUILD_CFLAGS += $(CFLAGS) | ||
529 | |||
526 | # Use --build-id when available. | 530 | # Use --build-id when available. |
527 | LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\ | 531 | LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\ |
528 | $(call ld-option, -Wl$(comma)--build-id,)) | 532 | $(call ld-option, -Wl$(comma)--build-id,)) |