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

James Peach reassigned TS-3012:
-------------------------------

    Assignee: 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: Build
>            Reporter: James Peach
>            Assignee: Phil Sorber
>
> 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.2#6252)

Reply via email to