[CRIU] [PATCH 07/10] compel: Don't use CFLAGS_PIE for libcompel.so

Dmitry Safonov dima at arista.com
Sat May 18 01:53:06 MSK 2019


It's needed for PIEs, but not for the library.
It comes earlier than commit 61e6c01d0964, but I don't see the point.
Regardles, I'm a bit afraid to break s390, hopefully testing covers the
platform.

This and the next one "make: Move CR_NOGLIBC into CFLAGS_PIE" should be
reverted/dropped from criu-dev if they turn to be breaking something.

Cc: Michael Holzheu <holzheu at linux.vnet.ibm.com>
Signed-off-by: Dmitry Safonov <dima at arista.com>
---
 compel/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compel/Makefile b/compel/Makefile
index 45736f29e048..de9318c42d45 100644
--- a/compel/Makefile
+++ b/compel/Makefile
@@ -11,7 +11,6 @@ ccflags-y		+= -iquote compel/arch/$(ARCH)/src/lib/include
 ccflags-y		+= -iquote compel/include
 ccflags-y		+= -fno-strict-aliasing
 ccflags-y		+= -fPIC
-ccflags-y		+= $(CFLAGS_PIE)
 ldflags-y		+= -r
 
 #
-- 
2.21.0



More information about the CRIU mailing list