File schedtop-cxxflags.patch of Package schedtop

Index: Makefile
===================================================================
--- Makefile.orig	2009-05-22 20:12:28.000000000 +0200
+++ Makefile	2011-03-17 12:00:17.320827379 +0100
@@ -1,5 +1,5 @@
 
-CFLAGS += -g -O0
+CXXFLAGS += -g -O0
 ARCH=$(shell uname -m)
 OBJDIR ?= obj/$(ARCH)
 LIBRARIES += -lboost_regex
@@ -29,12 +29,12 @@ $(OUTPUT): $(OBJS)
 $(OBJDIR)/%.o: %.cc	Makefile
 	@echo "Compiling (C++) $< to $@"
 	@mkdir -p $(OBJDIR)
-	$(CXX) $(CFLAGS) $(INCLUDES) -c -o $@ $<
+	$(CXX) $(CXXFLAGS) $(INCLUDES) -c -o $@ $<
 
 $(OBJDIR)/%:
 	@echo "Linking $@"
 	@mkdir -p $(OBJDIR)
-	$(CXX) $(CFLAGS) $(INCLUDES) -o $@ $(filter %.o %.a,$+) $(LIBDIR) $(LIBRARIES)
+	$(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ $(filter %.o %.a,$+) $(LIBDIR) $(LIBRARIES)
 
 clean: 
 	@rm -f $(OBJDIR)/*