diff options
| author | Peter Jones <pjones@redhat.com> | 2015-02-25 16:34:28 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-04-13 19:55:25 -0400 |
| commit | 605be9f1793e9a46c35ad3b165915895a0b575d8 (patch) | |
| tree | 1404b0fdaa7dedd59041bbd9f673e4a6e6b6e2fa /lib | |
| parent | 7fdbd9d48a4e447d4ea42268afb80a1ee84b633b (diff) | |
| download | efi-boot-shim-605be9f1793e9a46c35ad3b165915895a0b575d8.tar.gz efi-boot-shim-605be9f1793e9a46c35ad3b165915895a0b575d8.zip | |
Make lib/ use the right CFLAGS.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Makefile b/lib/Makefile index 3c5101ef..d93a26de 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,17 +4,6 @@ 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 -nostdinc\ - -fshort-wchar -Wall -DBUILD_EFI -fno-builtin -Werror \ - $(EFI_INCLUDES) - -ifeq ($(ARCH),x86_64) - CFLAGS += -mno-red-zone -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -endif -ifeq ($(ARCH),ia32) - CFLAGS += -mno-red-zone -m32 -endif - lib.a: $(LIBFILES) ar rcs lib.a $(LIBFILES) |
