[asterisk-bugs] [JIRA] (DAHLIN-385) DAHDI fails to compile with CC=clang

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Fri Jan 8 06:55:16 CST 2021


     [ https://issues.asterisk.org/jira/browse/DAHLIN-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaco Kroon updated DAHLIN-385:
------------------------------

    Attachment: 0001-Enable-building-with-CC-clang.patch

> DAHDI fails to compile with CC=clang
> ------------------------------------
>
>                 Key: DAHLIN-385
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-385
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 3.1.0
>         Environment: Gentoo Linux, with CC=clang
>            Reporter: Jaco Kroon
>            Assignee: Keith Morgan
>            Severity: Trivial
>              Labels: patch
>         Attachments: 0001-Enable-building-with-CC-clang.patch
>
>
> Various CFLAGS options assume gcc, some of these options are not available with clang.  Additionally kernel documentation states that -Wno-${warning} flags are not reliable with $(call cc-option,...) anyway, so use $(call cc-disable-warning, ...) as per kernel documentation instead.
> Will attach patch momentarily.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list