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

Submitted by Dmitry Safonov on May 17, 2019, 10:53 p.m.

Details

Message ID 20190517225309.16082-8-dima@arista.com
State Accepted
Series "pie/build: Cleaning up PIE/compel"
Commit 24e90c82d0a2c66e44b6e6f869f9c734445925da
Headers show

Commit Message

Dmitry Safonov May 17, 2019, 10:53 p.m.
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@linux.vnet.ibm.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
---
 compel/Makefile | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

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
 
 #