aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-10-08 16:38:28 +0800
committerAaron LI <aly@aaronly.me>2018-10-08 16:38:28 +0800
commit949d7bbdfe4992772992a529a913d5ff39caaf01 (patch)
treeaf61df51c1c0a14b4d43540d8608395ad8c6d876
parent5738c4387f0455b400d4a73b0095d85be39f6d3f (diff)
downloadchandra-acis-analysis-949d7bbdfe4992772992a529a913d5ff39caaf01.tar.bz2
src: Disable '-Werror' but enable '-Wextra'
'-Werror' is nice for development, but bad for releases.
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 76ddeaa..f4848da 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,8 +8,8 @@
CXX ?= g++
-CXXFLAGS += -Wall
-CXXFLAGS += -Werror
+CXXFLAGS += -Wall -Wextra
+#CXXFLAGS += -Werror
ifdef OPENMP
CXXFLAGS += -fopenmp