Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
charybdis
charybdis-werror.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File charybdis-werror.diff of Package charybdis
From: Jan Engelhardt <jengelh@inai.de> This -Werror is totally stupid. The code below it defines a variable, but leaves it unused, causing contemporary compilers to emit a warning (if there's -Wall in CFLAGS), which, with the -Werror just above it, is upgraded to an error. So it always looks like export-dynamic is not supported, ircd is built without it, so irc modules can never load because the symbols are not there, and charybdis fails to start. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: charybdis-3.4.2/configure.ac =================================================================== --- charybdis-3.4.2.orig/configure.ac +++ charybdis-3.4.2/configure.ac @@ -1020,7 +1020,7 @@ if test "$shared_modules" = yes; then # all symbols visible in the dynamic symbol table. hold_ldflags=$LDFLAGS AC_MSG_CHECKING(for the ld -export-dynamic flag) - LDFLAGS="${LDFLAGS} -Wl,-export-dynamic -Werror" + LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" AC_LINK_IFELSE(AC_LANG_PROGRAM([],[int i;]), found=yes, found=no) LDFLAGS=$hold_ldflags
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