Clear out CPPFLAGS for the windows build.
authorCarl Hetherington <cth@carlh.net>
Sun, 5 Oct 2014 19:33:41 +0000 (20:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 5 Oct 2014 19:33:41 +0000 (20:33 +0100)
cdist

diff --git a/cdist b/cdist
index 4aba5002721e47430ff92681286cde818eb81da0..cfb92cfed4f556ac00a116a6d6fdcf53210ca663 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -322,6 +322,7 @@ class WindowsTarget(Target):
             cxx += ' -I%s/include' % p
             link += ' -L%s/lib' % p
         self.set('CXXFLAGS', '"%s"' % cxx)
+        self.set('CPPFLAGS', '')
         self.set('LINKFLAGS', '"%s"' % link)
 
     def command(self, c):