File likwid-optflags.patch of Package likwid

diff --git a/make/include_GCC.mk b/make/include_GCC.mk
index 1ccfd88..fbd7822 100644
--- a/make/include_GCC.mk
+++ b/make/include_GCC.mk
@@ -12,13 +12,13 @@ GEN_PMHEADER = ./perl/gen_events.pl
 #ANSI_CFLAGS += -Wextra
 #ANSI_CFLAGS += -Wall
 
-CFLAGS   =  -O2  -Wno-format -Wno-nonnull -std=c99
+CFLAGS   =  -O2 $(OPTFLAGS) -Wno-format -Wno-nonnull -std=c99
 FCFLAGS  = -module ./  # ifort
 #FCFLAGS  = -J ./  -fsyntax-only  #gfortran
 PASFLAGS  = x86-64
 ASFLAGS  =
 CPPFLAGS =
-LFLAGS   =  -pthread
+LFLAGS   =  -pthread $(OPTFLAGS)
 
 SHARED_CFLAGS = -fpic
 SHARED_LFLAGS = -shared
openSUSE Build Service is sponsored by