From 16d16c155f0b1c552b9ab6d19688b941d602c440 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 4 May 2007 23:05:00 +0000 Subject: [PATCH] stop using linux system includes. only use gcc includes. Trivial one liner. Thanks, Segher. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@306 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b8a4e1ce91..850cc46301 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ CC := gcc CFLAGS := -Os -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -Werror-implicit-function-declaration -Wstrict-aliasing \ -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer \ + -nostdinc -isystem `gcc -print-file-name=include` \ -mpreferred-stack-boundary=2 -mregparm=3 -pipe # FIXME: Does stack boundary or regparm break the code on real hw?