don't include same flags twice
authorScott Beamer <sbeamer@eecs.berkeley.edu>
Thu, 28 Aug 2014 04:27:30 +0000 (21:27 -0700)
committerScott Beamer <sbeamer@eecs.berkeley.edu>
Thu, 28 Aug 2014 04:27:30 +0000 (21:27 -0700)
Makefile.in

index 45d22a4682e9a9a197be94d708539e0040db071c..7bbf1d82e5b339f6d4855769255354e867e57e56 100644 (file)
@@ -87,7 +87,7 @@ CXX           := @CXX@
 CFLAGS        += @CFLAGS@ -DPREFIX=\"$(prefix)\"
 CPPFLAGS      += @CPPFLAGS@
 CXXFLAGS      += @CXXFLAGS@ -DPREFIX=\"$(prefix)\"
-COMPILE       := $(CXX) -fPIC -MMD -MP $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) \
+COMPILE       := $(CXX) -fPIC -MMD -MP $(CPPFLAGS) $(CXXFLAGS) \
                  $(sprojs_include)
 COMPILE_C     := $(CC) -fPIC -MMD -MP $(CPPFLAGS) $(CFLAGS) \
                  $(sprojs_include)