Browse files

Give libunittest merciful CPPFLAGS and LDFLAGS.

Since it's just gmock/gtest code, there's no reason to expect it should conform to the settings for the rest of the project.  Specifically, it is not -ansi compliant, but only pedantic implementations (such as cygwin) catch this.  Also there's no reason to include it in the code coverage measurements.

  • Loading branch information...
1 parent acadba7 commit bced2e1d8e21301bda2cef9cf59b2da5e85a8c89 @phs committed May 5, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -153,6 +153,10 @@ libunittest_la_CPPFLAGS = \
-I$(gtest) \
+# Override default compiler and linker flags
+libunittest_la_CXXFLAGS = -Wall -Wextra -Werror
+libunittest_la_LDFLAGS =
# You can't extract these paths without breaking distcheck.
libunittest_la_SOURCES = \
vendor/gmock-1.6.0/gtest/include/gtest/gtest-death-test.h \

0 comments on commit bced2e1

Please sign in to comment.