[CRIU] [PATCH 1/2] pie: always build in arm mode

Chanho Park chanho61.park at samsung.com
Tue Jun 11 00:18:27 EDT 2013


Parasite blobs should be compiled in arm mode.

Signed-off-by: Chanho Park <chanho61.park at samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham at samsung.com>
---
 pie/Makefile |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/pie/Makefile b/pie/Makefile
index 52e5eb0..b7940b8 100644
--- a/pie/Makefile
+++ b/pie/Makefile
@@ -14,6 +14,9 @@ restorer-obj-e		+= $(ARCH_DIR)/vdso-pie.o
 restorer-libs-e		+= $(SYSCALL-LIB)
 
 cflags-y		+= -DCR_NOGLIBC -fpie  -Wa,--noexecstack -fno-stack-protector
+ifeq ($(ARCH), arm)
+	cflags-y	+= -marm
+endif
 ASMFLAGS		+= -D__ASSEMBLY__
 
 GEN-OFFSETS		:= gen-offsets.sh
-- 
1.7.9.5



More information about the CRIU mailing list