mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-07-27 03:21:38 +00:00
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>
This commit is contained in:
parent
7361f67dbd
commit
ed4c5dbc84
@ -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)
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
*
|
||||
* see COPYING file
|
||||
*/
|
||||
#include <efi/efi.h>
|
||||
#include <efi/efilib.h>
|
||||
#include <efi.h>
|
||||
#include <efilib.h>
|
||||
|
||||
#include <console.h>
|
||||
#include <variables.h>
|
||||
|
@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <guid.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef BUILD_EFI
|
||||
/* EFI has %g for this, so it's only needed in platform c */
|
||||
|
Loading…
Reference in New Issue
Block a user