X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Makefile;h=efc948fffa1dd6bb32a2dd9769b2e51eae5b09b7;hb=23b5e014564bb71eb05871af019912957263f158;hp=f448e0082ebf6726ba4a644164e5194edced6ff0;hpb=41c9229498a2eb89db1c0a77321c61b448738de4;p=karo-tx-linux.git diff --git a/Makefile b/Makefile index f448e0082ebf..efc948fffa1d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 27 -EXTRAVERSION = -rc5 -NAME = Rotary Wombat +EXTRAVERSION = .47 +NAME = Trembling Tortoise # *DOCUMENTATION* # To see a list of typical targets execute "make help" @@ -340,7 +340,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ - -Werror-implicit-function-declaration + -Werror-implicit-function-declaration \ + -fno-delete-null-pointer-checks KBUILD_AFLAGS := -D__ASSEMBLY__ # Read KERNELRELEASE from include/config/kernel.release (if it exists) @@ -555,6 +556,9 @@ 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,) +# disable invalid "can't wrap" optimzations for signed / pointers +KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) + # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments # But warn user when we do so warn-assign = \