2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

make: Allow to use CROSS_COMPILE prefix

Note it can be overriden from command line.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Chanho Park <chanho61.park@samsung.com>
CC: Myungjoo Ham <myungjoo.ham@samsung.com>
Acked-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2013-05-30 13:41:17 +04:00
committed by Pavel Emelyanov
parent d0d4d5e705
commit d73c4c1ff4

View File

@@ -26,12 +26,12 @@ include Makefile.config
FIND := find
CSCOPE := cscope
RM := rm -f
LD := ld
CC ?= gcc
NM := nm
LD := $(CROSS_COMPILE)ld
CC := $(CROSS_COMPILE)gcc
NM := $(CROSS_COMPILE)nm
SH := bash
MAKE := make
OBJCOPY := objcopy
OBJCOPY := $(CROSS_COMPILE)objcopy
#
# Fetch ARCH from the uname if not yet set