projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c35f3
)
Makefile: remove relro,now as it doesn't allow to compile under some archs
author
Robert Swiecki
<robert@swiecki.net>
Thu, 26 Oct 2017 23:53:05 +0000
(
01:53
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Thu, 26 Oct 2017 23:53:05 +0000
(
01:53
+0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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