Makefile: remove relro,now as it doesn't allow to compile under some archs
authorRobert Swiecki <robert@swiecki.net>
Thu, 26 Oct 2017 23:53:05 +0000 (01:53 +0200)
committerRobert Swiecki <robert@swiecki.net>
Thu, 26 Oct 2017 23:53:05 +0000 (01:53 +0200)
Makefile

index 85772f2e7df1680e340a34e5de116ea602198e93..2bb7de274fc1414f3830e0a1e171015adb4a2cd9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ CFLAGS += $(COMMON_FLAGS) \
        -std=gnu11
 CXXFLAGS += $(COMMON_FLAGS) $(shell pkg-config --cflags protobuf) \
        -std=c++11 -Wno-unused -Wno-unused-parameter
-LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie -Wl,-z,noexecstack -lpthread $(shell pkg-config --libs protobuf)
+LDFLAGS += -pie -Wl,-z,noexecstack -lpthread $(shell pkg-config --libs protobuf)
 
 BIN = nsjail
 LIBS = kafel/libkafel.a