[asterisk-bugs] [JIRA] (DAHTOOL-88) dahdi-tools, -Werror in xpp/oct612x/Makefile
Jaco Kroon (JIRA)
noreply at issues.asterisk.org
Fri Jan 8 08:48:16 CST 2021
Jaco Kroon created DAHTOOL-88:
---------------------------------
Summary: dahdi-tools, -Werror in xpp/oct612x/Makefile
Key: DAHTOOL-88
URL: https://issues.asterisk.org/jira/browse/DAHTOOL-88
Project: DAHDI-Tools
Issue Type: Bug
Security Level: None
Components: General
Affects Versions: 3.0.0
Environment: Gentoo Linux.
Reporter: Jaco Kroon
Assignee: Keith Morgan
Severity: Trivial
https://bugs.gentoo.org/751850
I'd recommend the -Werror only be added via DAHDI_DEVMODE_TRUE ...
xpp/oct612x/Makefile:391
GLOBAL_CFLAGS = -Wall -Werror
To be changed to take the value of DAHDI_DEVMODE into consideration, thus in Makefile.am, update the first line to:
GLOBAL_CFLAGS = -Wall
@DAHDI_DEVMODE_TRUE at GLOBAL_CFLAGS += -Werror
Alternatively, follow the same patterns as the top level Makefile which makes use of an append structure for same.
I'm certain other fixes are possible too, and I'm not sure what your preferred solution would be in this case.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list