[CRIU] [PATCH 1/3] make: Fix typo in Makefile.syscall

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 18 10:46:19 EDT 2012


Should be -fpie (actually it's not a problem
at moment since asm files have simple code
and work even without -fpie passed, but better
to fix it anyaway).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.syscall |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.syscall b/Makefile.syscall
index c861579..d307ebd 100644
--- a/Makefile.syscall
+++ b/Makefile.syscall
@@ -10,7 +10,7 @@ SYS-GEN		:= syscalls-x86-64.sh
 
 SYS-OBJ		:= $(patsubst %.S,%.o,$(SYS-ASM))
 
-SYS-FLAGS	:= -pie -Wstrict-prototypes -D__ASSEMBLY__ -nostdlib -fomit-frame-pointer
+SYS-FLAGS	:= -fpie -Wstrict-prototypes -D__ASSEMBLY__ -nostdlib -fomit-frame-pointer
 
 $(SYS-ASM): $(SYS-GEN) $(SYS-DEF) $(SYS-ASM-COMMON) $(SYS-TYPES)
 	$(E) "  GEN     " $@
-- 
1.7.7.6



More information about the CRIU mailing list