aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Lucangeli Obes <jorgelo@google.com>2017-02-01 18:04:36 -0500
committerJorge Lucangeli Obes <jorgelo@google.com>2017-02-01 18:04:36 -0500
commitce2c3ff9a32ad3702134c26d76222dcf47e8e6ad (patch)
tree273f54fc8b2efb0fb0a81f6f0aed1535eb7bdef3
parentb91d404ee6115dc130b0101b38d875be17c88efb (diff)
downloadminijail-ce2c3ff9a32ad3702134c26d76222dcf47e8e6ad.tar.gz
Add -Wextra to Makefile.
Bug: None Test: Builds on desktop Linux. Change-Id: Ibfe8512c4beb2c6d1c927db8425a6e3ca0250b1e
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b1e23ae..1a6601c 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,9 @@ ifneq ($(USE_seccomp),yes)
CPPFLAGS += -DUSE_SECCOMP_SOFTFAIL
endif
+CFLAGS += -Wextra
+CXXFLAGS += -Wextra
+
all: CC_BINARY(minijail0) CC_LIBRARY(libminijail.so) \
CC_LIBRARY(libminijailpreload.so)