Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
libopenvas
openvas-libraries-4.0-rc4-no_Werror.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openvas-libraries-4.0-rc4-no_Werror.patch of Package libopenvas
--- CMakeLists.txt.orig +++ CMakeLists.txt @@ -240,7 +240,7 @@ configure_file (libopenvas.pc.in libopen set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") -set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror") +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall") add_subdirectory (base) add_subdirectory (misc) --- nasl/CMakeLists.txt.orig +++ nasl/CMakeLists.txt @@ -39,7 +39,7 @@ set (CMAKE_C_FLAGS_DEBUG "${CMAKE # The "-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1" is necessary for GPGME! # The "-fno-strict-aliasing" silences warnings caused by macros defined in byteorder.h. # Once the warnings have been addressed this flag should be removed. -set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -fno-strict-aliasing") +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -fno-strict-aliasing") # The "-Wno-error=unprototyped-calls" silences warnings produced by an # openSUSE-patched gcc caused by code in regex.c. --- hg/CMakeLists.txt.orig +++ hg/CMakeLists.txt @@ -29,7 +29,7 @@ include_directories(../misc) set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") -set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -fPIC") +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -fPIC") set (FILES hg_add_hosts.c hg_debug.c hg_dns_axfr.c hg_filter.c hg_subnet.c hg_utils.c hosts_gatherer.c) --- misc/CMakeLists.txt.orig +++ misc/CMakeLists.txt @@ -70,7 +70,7 @@ endif (NOT BUILD_WITH_LDAP) set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") -set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -fPIC") +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -fPIC") if (MINGW) set (FILES openvas_auth.c openvas_server.c proctitle.c)
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