summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-07-26 12:02:18 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-07-26 12:02:18 -0400
commitd3819813b8e0a64400ddf3ce033bae7c3f245508 (patch)
tree79ea54361f1b1fa10749101827391726a3f4bcef /lib/Makefile
parenta14921c5944c340056312f2f5b1728d698f628b1 (diff)
downloadefi-boot-shim-d3819813b8e0a64400ddf3ce033bae7c3f245508.tar.gz
efi-boot-shim-d3819813b8e0a64400ddf3ce033bae7c3f245508.zip
Import upstream version 0.9+1465500757.14a5905
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Makefile b/lib/Makefile
index ebd21a14..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 \
- -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)