File lavaps-2.7-cflags.dif of Package lavaps
--- src/linux/proc/Makefile
+++ src/linux/proc/Makefile
@@ -16,7 +16,7 @@
# COMPILATION OPTIONS
CC = gcc -O2 -g -D_GNU_SOURCE #-ggdb # easy to command-line override
-CFLAGS = -I.. -Wall
+CFLAGS = -I.. -Wall ${RPM_OPT_FLAGS}
# ----------------------------------------------------------------#
# The rest is the auto-magic section -- highly GNU make dependent #