Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3012

improve passing compiler flags down to libck

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • CK++
    • None

    Description

      AFAICT, libck does not get consistent compiler flags.

      For example:

          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
      

      Compared to:

                      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
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              Unassigned Unassigned
              jamespeach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: