Description: Add flags to CXXFLAGS even if it is not empty
Author: Joachim Reichel <reichel@debian.org>

--- cppcheck-1.80.orig/Makefile
+++ cppcheck-1.80/Makefile
@@ -79,19 +79,8 @@ endif
 ifeq (clang++, $(findstring clang++,$(CXX)))
     CPPCHK_GLIBCXX_DEBUG=
 endif
-ifndef CXXFLAGS
-    CXXFLAGS=-std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare
-endif
 
-ifeq (g++, $(findstring g++,$(CXX)))
-    override CXXFLAGS += -std=c++0x
-else ifeq (clang++, $(findstring clang++,$(CXX)))
-    override CXXFLAGS += -std=c++0x
-else ifeq ($(CXX), c++)
-    ifeq ($(shell uname -s), Darwin)
-        override CXXFLAGS += -std=c++0x
-    endif
-endif
+override CXXFLAGS += -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare
 
 ifeq ($(HAVE_RULES),yes)
     override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)
