X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2FMakefile;h=900a46e6910f76309b8fbd00a43853811435b733;hb=ae3a0bf446529bfb50eb91a0fb90b72140d9f2ed;hp=287d01a953a272c66f9805352ac8a7f27c4098ec;hpb=340bda1dddf444ccf46fbc9e7a37bf6c3f0aeb6a;p=tpg%2Facess2.git diff --git a/Kernel/Makefile b/Kernel/Makefile index 287d01a9..900a46e6 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -23,6 +23,7 @@ CPPFLAGS += -DARCH=$(ARCH) -DARCHDIR=$(ARCHDIR) -DARCHDIR_IS_$(ARCHDIR)=1 CPPFLAGS += -DKERNEL_VERSION=$(KERNEL_VERSION) CFLAGS += -Wall -Werror -fno-stack-protector -Wstrict-prototypes -g CFLAGS += -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wuninitialized +CFLAGS += -O3 LDFLAGS += -T arch/$(ARCHDIR)/link.ld -g OBJDIR := obj-$(ARCH)/