cppcheck/cppcheck-1.43-OptFlags.patch

11 lines
294 B
Diff

Index: Makefile
===================================================================
--- Makefile.orig 2010-05-08 15:37:19.000000000 +0200
+++ Makefile 2010-06-01 23:06:48.496942411 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS=-O2 -DNDEBUG -Wall
+CXXFLAGS=${RPM_OPT_FLAGS}
CXX=g++
BIN=${DESTDIR}/usr/bin