You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Susan Hinrichs (JIRA)" <ji...@apache.org> on 2014/11/20 20:19:33 UTC

[jira] [Updated] (TS-3012) improve passing compiler flags down to libck

     [ https://issues.apache.org/jira/browse/TS-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Susan Hinrichs updated TS-3012:
-------------------------------
    Fix Version/s:     (was: 5.2.0)
                   5.3.0

> improve passing compiler flags down to libck
> --------------------------------------------
>
>                 Key: TS-3012
>                 URL: https://issues.apache.org/jira/browse/TS-3012
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: CK
>            Reporter: James Peach
>            Assignee: Phil Sorber
>             Fix For: 5.3.0
>
>
> AFAICT, libck does not get consistent compiler flags.
> For example:
> {code}
>     CC:                 ccache cc
>     CXX:                ccache c++
>     CPP:                cc -E
>     CFLAGS:             -O0 -g -pipe -Wall -Wno-deprecated-declarations -Qunused-arguments -Werror
>     SHARED_CFLAGS:      -fPIC
>     CXXFLAGS:           -OO -g -pipe -Wall -Wno-deprecated-declarations -Qunused-arguments -Werror -Wno-invalid-offsetof
>     SHARED_CXXFLAGS:    -fPIC
> {code}
> Compared to:
> {code}
>                 CC = /usr/bin/cc
>           COMPILER = clang
>             CFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses -O0 -fPIC
>     PTHREAD_CFLAGS = -pthread
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)