UBUNTU: SAUCE: KLUDGE: work around failed 'shrink-wrap' compiler optimisation
[linux-flexiantxendom0-natty.git] / Makefile
index 303511e..518e770 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -364,7 +364,8 @@ KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common \
                   -Werror-implicit-function-declaration \
                   -Wno-format-security \
-                  -fno-delete-null-pointer-checks
+                  -fno-delete-null-pointer-checks \
+                  $(call cc-option, -fno-shrink-wrap)
 KBUILD_AFLAGS_KERNEL :=
 KBUILD_CFLAGS_KERNEL :=
 KBUILD_AFLAGS   := -D__ASSEMBLY__