File erlang-esdl-optflags.patch of Package erlang-esdl

Index: esdl-1.2/c_src/Makefile
===================================================================
--- esdl-1.2.orig/c_src/Makefile
+++ esdl-1.2/c_src/Makefile
@@ -44,7 +44,8 @@ endif
                           $(SDL_IMAGE_INCS) $(ERL_INCS)
 
   CFLAGS		= -g -O2 -funroll-loops -Wall -ffast-math -fpic \
-			-fomit-frame-pointer $(USE_GL_INCLUDE_DIR) -DSHM \
+			-fomit-frame-pointer $(RPM_OPT_FLAGS) \
+			$(USE_GL_INCLUDE_DIR) -DSHM \
                         $(USE_SDL_TTF) $(USE_SDL_IMAGE) \
 			-DPTHREADS $(INCS)
openSUSE Build Service is sponsored by