X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2FMakefile;h=16d63b44ce840c9ed73214297fbdc398affca3f3;hb=1ac0c6fd8af10ace17331b638a37698f586d04c9;hp=66eb9cdd515acc60f5a0f6bdd54655a88dc37d72;hpb=793101e78d857adf31301025173debecf4bd2a62;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/Makefile b/KernelLand/Kernel/Makefile index 66eb9cdd..16d63b44 100644 --- a/KernelLand/Kernel/Makefile +++ b/KernelLand/Kernel/Makefile @@ -29,6 +29,7 @@ CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -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 +LIBGCC_PATH := $(shell $(CC) -print-libgcc-file-name) ifeq ($(PLATFORM),default) OBJDIR := obj-$(ARCH)/