signed off by: Jory A. Pratt When -fPIE is pass to cc1 it can't use -ffreestanding or -fno-toplevel-reorder. This will cause issues in video-vga.c when compiled leaving a user with no video modes avaliable when booting system. Many thanks to Vinky for tracking down bug. --- Makefile~ 2009-08-27 21:38:59.809945943 -0500 +++ Makefile 2009-08-27 21:40:04.204922755 -0500 @@ -348,7 +348,8 @@ -fno-strict-aliasing -fno-common \ -Werror-implicit-function-declaration \ -Wno-format-security \ - -fno-delete-null-pointer-checks + -fno-delete-null-pointer-checks \ + -D__KERNEL__ KBUILD_AFLAGS := -D__ASSEMBLY__ # Read KERNELRELEASE from include/config/kernel.release (if it exists)