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:
1dc33c7
)
Remove -fblocks from Makefile
author
Robert Swiecki
<swiecki@google.com>
Fri, 29 Jul 2016 13:49:35 +0000
(15:49 +0200)
committer
Robert Swiecki
<swiecki@google.com>
Fri, 29 Jul 2016 13:49:35 +0000
(15:49 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 9abec7168b1fcba6be57a55977e095d31683169d..ccde2a65cf0144530fa004aaf468877384a0e05d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-34,11
+34,6
@@
ifdef DEBUG
CFLAGS += -g -ggdb -gdwarf-4
endif
-COMPILER = $(shell $(CC) -v 2>&1 | grep -E '(gcc|clang) version' | grep -oE '(clang|gcc)')
-ifeq ($(COMPILER),clang)
- CFLAGS += -fblocks
-endif
-
ifeq ("$(wildcard /usr/include/libnl3/netlink/route/link/macvlan.h)","/usr/include/libnl3/netlink/route/link/macvlan.h")
CFLAGS += -DNSJAIL_NL3_WITH_MACVLAN -I/usr/include/libnl3
LDFLAGS += -lnl-3 -lnl-route-3