summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 +0000
commit2ce6da855a541ba36b74dda9bfe4cd295629c82a (patch)
tree632b58b9180caa30a8fd3ed1752db194a5a66aba /make
parentb0b40063a828ca7a4ceb079ecd508775c6aa9d93 (diff)
downloadgtest-2ce6da855a541ba36b74dda9bfe4cd295629c82a.tar.gz
gtest-2ce6da855a541ba36b74dda9bfe4cd295629c82a.tar.bz2
gtest-2ce6da855a541ba36b74dda9bfe4cd295629c82a.tar.xz
Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.
git-svn-id: http://googletest.googlecode.com/svn/trunk@226 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'make')
-rw-r--r--make/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile
index bf7e978..2d8806e 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -23,7 +23,7 @@ USER_DIR = ../samples
CPPFLAGS += -I$(GTEST_DIR) -I$(GTEST_DIR)/include
# Flags passed to the C++ compiler.
-CXXFLAGS += -g
+CXXFLAGS += -g -Wall -Wextra
# All tests produced by this Makefile. Remember to add new tests you
# created to the list.