0001-fix-build.patch (953B)
1 diff --git i/mk/flags.mk w/mk/flags.mk 2 index 522274885..35745d98c 100644 3 --- i/mk/flags.mk 4 +++ w/mk/flags.mk 5 @@ -13,14 +13,14 @@ BUILD_DEPS_CPPFLAGS_AFTER ?= 6 BUILD_DEPS_LDFLAGS ?= 7 8 CROSS_COMPILE ?= 9 -CXX ?= $(CROSS_COMPILE)g++ 10 -AR ?= $(CROSS_COMPILE)ar 11 -AS ?= $(CROSS_COMPILE)as 12 -LD ?= $(CROSS_COMPILE)ld 13 -NM ?= $(CROSS_COMPILE)nm 14 -OBJDUMP ?= $(CROSS_COMPILE)objdump 15 -OBJCOPY ?= $(CROSS_COMPILE)objcopy 16 -SIZE ?= $(CROSS_COMPILE)size 17 +CXX = $(CROSS_COMPILE)g++ 18 +AR = $(CROSS_COMPILE)ar 19 +AS = $(CROSS_COMPILE)as 20 +LD = $(CROSS_COMPILE)ld 21 +NM = $(CROSS_COMPILE)nm 22 +OBJDUMP = $(CROSS_COMPILE)objdump 23 +OBJCOPY = $(CROSS_COMPILE)objcopy 24 +SIZE = $(CROSS_COMPILE)size 25 26 ifeq ($(COMPILER),clang) 27 CC := clang 28 @@ -29,7 +29,7 @@ else 29 CC := $(CROSS_COMPILE)gcc 30 LIBGCC_FINDER=$(CC) $(CFLAGS) 31 endif 32 -CPP ?= $(CC) -E 33 +CPP = $(CC) -E 34 35 CPPFLAGS += -D__EMBOX_VERSION__=\"$(EMBOX_VERSION)\" 36