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

Leif Hedstrom resolved TS-3012.
-------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 6.0.0)
         Assignee:     (was: Phil Sorber)

> 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
>
> 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)

Reply via email to