X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=fa0d21e41c3d40dfc304d48772d0ba9f97ac000d;hb=70a1f1e8105d1a944fdfbf1e26cd8d3bfc79c0ff;hp=2e15e0b4483d68a2bfb37bc8cdca42fe86e12195;hpb=ee26562772f47a6e2030a79b230226b204a410b6;p=pandora-kernel.git diff --git a/Makefile b/Makefile index 2e15e0b4483d..fa0d21e41c3d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 27 -EXTRAVERSION = -rc4 -NAME = Rotary Wombat +EXTRAVERSION = .31 +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 = \