File fbpanel-optflags.patch of Package fbpanel
--- rules.mk.orig 2010-07-22 09:02:04.000000000 +0200 +++ rules.mk 2010-07-22 09:02:41.000000000 +0200 @@ -35,11 +35,7 @@ ## # if CFLAGS wasn't set by package builder set it to -O2 # warnings on, and path to #include <config.h> -ifeq ($(DEBUG),enabled) - override CFLAGS = -Wall -I$(TOPDIR) -g -Werror -else - CFLAGS += -O2 -Wall -I$(TOPDIR) -endif +CFLAGS += $(OPTFLAGS) T := $(subst $(TOPDIR)/,,$(CURDIR)/)