File perftest-use_optflags.patch of Package perftest

---
 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: Makefile.am
===================================================================
--- Makefile.am.orig	2014-04-30 18:59:47.000000000 +0200
+++ Makefile.am	2014-05-13 18:28:17.112113469 +0200
@@ -18,7 +18,7 @@ AM_CPPFLAGS = -D_GNU_SOURCE
 noinst_LIBRARIES = libperftest.a
 libperftest_a_SOURCES = src/get_clock.c src/perftest_communication.c src/perftest_parameters.c src/perftest_resources.c
 noinst_HEADERS = src/get_clock.h src/perftest_communication.h src/perftest_parameters.h src/perftest_resources.h
-
+AM_CFLAGS = $(RPM_OPT_FLAGS)
 bin_PROGRAMS = ib_send_bw ib_send_lat ib_write_lat ib_write_bw ib_read_lat ib_read_bw ib_atomic_lat ib_atomic_bw
 
 if HAVE_RAW_ETH