mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
Commit d9486bd720
("arm/pie/build: do not produce relocatable parasite
object") removed -r from LDFLAGS used to compile criu pie. This
functionality somehow never made it to criu-dev, and was also lost
in master then compel was ported to it.
Make it work with compel.
Unfortunately it was not as simple as I initially thought, as -r flag
to ld was built into nmk. This patch removes it, and adds it to all
places that need intermediate linking.
Cc: Dmitry Safonov <dsafonov@virtuozzo.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
9 lines
234 B
Makefile
9 lines
234 B
Makefile
obj-y += criu.o
|
|
obj-y += ./images/rpc.pb-c.o
|
|
|
|
ccflags-y += -iquote criu/$(ARCH_DIR)/include
|
|
ccflags-y += -iquote criu/include
|
|
ccflags-y += -iquote images
|
|
ccflags-y += -fPIC -fno-stack-protector
|
|
ldflags-y += -r -z noexecstack
|