diff options
| -rw-r--r-- | lib/Makefile | 2 | ||||
| -rw-r--r-- | lib/console.c | 4 | ||||
| -rw-r--r-- | lib/guid.c | 1 |
3 files changed, 3 insertions, 4 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) diff --git a/lib/console.c b/lib/console.c index 83ee679e..fd8cc5c8 100644 --- a/lib/console.c +++ b/lib/console.c @@ -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 */ |
