Commit 9cf884f0 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

criu/pie/Makefile.library: clean up

1. Remove useless LDFLAGS -- dynamic linker is not used here.

2. Remove $(iquotes) -- there are none defined here.

3. Consolidate filter-out statements into a single one.
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 76de67f9
lib-name := pie.lib.a
CFLAGS += -fno-stack-protector -DCR_NOGLIBC -fpie
LDFLAGS += -z noexecstack
lib-y += util.o
......@@ -34,10 +33,9 @@ endif
# applications, which is not the target of the
# project.
#
CFLAGS := $(filter-out -pg $(CFLAGS-GCOV),$(CFLAGS)) $(iquotes)
CFLAGS := $(filter-out $(CFLAGS-ASAN),$(CFLAGS))
CFLAGS := $(filter-out -pg $(CFLAGS-GCOV) $(CFLAGS-ASAN),$(CFLAGS))
asflags-y := -D__ASSEMBLY__ $(iquotes)
asflags-y := -D__ASSEMBLY__
ccflags-y += $(COMPEL_UAPI_INCLUDES)
ifeq ($(SRCARCH),arm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment