diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -567,6 +567,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) | |||
| 567 | # disable pointer signed / unsigned warnings in gcc 4.0 | 567 | # disable pointer signed / unsigned warnings in gcc 4.0 |
| 568 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) | 568 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) |
| 569 | 569 | ||
| 570 | # disable invalid "can't wrap" optimzations for signed / pointers | ||
| 571 | KBUILD_CFLAGS += $(call cc-option,-fwrapv) | ||
| 572 | |||
| 570 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments | 573 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments |
| 571 | # But warn user when we do so | 574 | # But warn user when we do so |
| 572 | warn-assign = \ | 575 | warn-assign = \ |
