Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
glyr
glyr-optflags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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}") # ------------------------------------------------
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor