summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2014-12-11 09:48:50 -0500
committerPeter Jones <pjones@redhat.com>2014-12-11 09:48:50 -0500
commited4c5dbc84c6baa6fc1ae0ea24b878df5bc81fa2 (patch)
tree9bc1e34cbc6cbd5897edd858f048f1fc2066ddc4 /lib/Makefile
parent7361f67dbd7f7fe98a807d3d12f90a87262124d6 (diff)
downloadefi-boot-shim-ed4c5dbc84c6baa6fc1ae0ea24b878df5bc81fa2.tar.gz
efi-boot-shim-ed4c5dbc84c6baa6fc1ae0ea24b878df5bc81fa2.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)