summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2014-11-10 17:31:15 +0800
committerPeter Jones <pjones@redhat.com>2014-12-11 09:48:50 -0500
commit361716dd4a612e8be58e755102eceefffd3a54c5 (patch)
tree9bc1e34cbc6cbd5897edd858f048f1fc2066ddc4 /lib/Makefile
parent4316fbd2a2bab522c4fffff5338441654eefd4b6 (diff)
downloadefi-boot-shim-361716dd4a612e8be58e755102eceefffd3a54c5.tar.gz
efi-boot-shim-361716dd4a612e8be58e755102eceefffd3a54c5.zip
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 <glin@suse.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
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)