diff -up sectool-0.9.5/src/Makefile.optflags sectool-0.9.5/src/Makefile --- sectool-0.9.5/src/Makefile.optflags 2010-06-04 11:35:47.000000000 +0200 +++ sectool-0.9.5/src/Makefile 2010-06-04 11:51:19.428092050 +0200 @@ -1,7 +1,7 @@ include ../sectool.mk CC= gcc -CFLAGS= -Wall -O2 -ffast-math -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm +CFLAGS= -Wall -O2 -ffast-math $(RPM_OPT_FLAGS) -I. -D_FILE_OFFSET_BITS=64 -DTEST_SELINUX -I/usr/include/rpm LDFLAGS= -lrpm -lselinux -lrpmio SRCS_sectool=sectool.c