File glyr-optflags.patch of Package glyr

--- glyr-1.0.2.orig/CMakeLists.txt
+++ glyr-1.0.2/CMakeLists.txt
@@ -57,13 +57,13 @@ ENDIF()
 MESSAGE("-- Building Target: ${CMAKE_BUILD_TYPE}")
 
 IF(CMAKE_COMPILER_IS_GNUCC)
-    SET(GCC_ONLY_FLAGS "-std=c99")
+    SET(GCC_ONLY_FLAGS "-std=gnu99")
     SET(GCC_ONLY_OPT   "-s")
 ENDIF()
 
 SET(COMMON_FLAGS "${GCC_ONLY_FLAGS} -Wall -Wextra -Wstrict-prototypes -W -Wno-unused-parameter -Wno-strict-prototypes -fvisibility=hidden")
-SET(CMAKE_C_FLAGS_RELEASE "${COMMON_FLAGS} ${CMAKE_C_FLAGS} -Os ${GCC_ONLY_OPT}")
-SET(CMAKE_C_FLAGS_DEBUG   "${COMMON_FLAGS} ${CMAKE_C_FLAGS} -g3")
+#SET(CMAKE_C_FLAGS_RELEASE "${COMMON_FLAGS} ${CMAKE_C_FLAGS} -Os ${GCC_ONLY_OPT}")
+#SET(CMAKE_C_FLAGS_DEBUG   "${COMMON_FLAGS} ${CMAKE_C_FLAGS} -g3")
 SET(CMAKE_C_FLAGS "${COMMON_FLAGS} ${CMAKE_C_FLAGS}")
 # ------------------------------------------------
openSUSE Build Service is sponsored by