You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/08/14 22:52:20 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 ]
Leif Hedstrom updated TS-3012:
------------------------------
Component/s: (was: Build)
CK
> 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
>
> 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)