From ed4c5dbc84c6baa6fc1ae0ea24b878df5bc81fa2 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Thu, 11 Dec 2014 09:48:50 -0500 Subject: Add nostdinc to the CFLAGS for lib We don't need the headers from the standard include path. Signed-off-by: Gary Ching-Pang Lin --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index ebd21a14..3c5101ef 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,7 +4,7 @@ LIBFILES = simple_file.o guid.o console.o execute.o configtable.o shell.o variab EFI_INCLUDES = -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol -I../include -CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \ +CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic -nostdinc\ -fshort-wchar -Wall -DBUILD_EFI -fno-builtin -Werror \ $(EFI_INCLUDES) -- cgit v1.2.3