diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile index 9cf7152f..a92fdebe 100644 --- a/dlm_controld/Makefile +++ b/dlm_controld/Makefile @@ -47,7 +47,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \ BIN_CFLAGS += $(CFLAGS) -fPIE -DPIE BIN_CFLAGS += -I../include -I../libdlm -LIB_CFLAGS += $(CFLAGS) -fPIC -fplugin=annobin +LIB_CFLAGS += $(CFLAGS) -fPIC BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,relro -Wl,-z,now -pie BIN_LDFLAGS += -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid