--- makefiles/config.mk.orig	2007-09-07 15:05:39.000000000 -0400
+++ makefiles/config.mk	2007-09-21 11:51:53.000000000 -0400
@@ -18,8 +18,7 @@
 endif
 
 ifeq "$(TARGET_STATUS)" "release"
-	CFLAGS += -O3
-	LDFLAGS += -s
+	CFLAGS += $(RPM_OPT_FLAGS)
 endif
 ifeq "$(TARGET_STATUS)" "debug"
 	CFLAGS += -O0 -g
