Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 63c871e92b0428e01072e48ed96b55db0dc1ff7d
Ticket: 2795092fffffffffffffffffffffffffffffffff
override-able CFLAGS?
User & Date: dkf on 2013-09-27 10:46:54
Changes

  1. closer changed to: "nobody"
  2. comment changed to:
    Consider this:
    
    http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2009-May/001127.html
    
  3. icomment:
    Essential part of content on <a href="http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2009-May/001127.html">that page</a>:
    <pre>
    The issue is that debian/rules calls
        $(MAKE) CFLAGS="$(CFLAGS)"
    overriding the CFLAGS variable set in pkgs/tdbc1.0b1/Makefile.in, which 
    had been set up to include ${SHLIB_CFLAGS} (-fPIC) by 
    pkgs/tdbc1.0b1/configure (generated from the TEA_MAKE_LIB macro in 
    pkgs/tdbc1.0b1/tclconfig/tcl.m4).
    
    This is arguably an upstream bug, because CFLAGS is supposed to be 
    overridable in this way, and should contain only optional optimization 
    flags, not essential flags like -fPIC.
    
    However, passing the Debian CFLAGS to configure instead of forcefully 
    overriding them in make is cleaner, and allows the package to build:
    </pre>
    [...]
    <p>
    My reading is that they've got a workaround, but we're doing something wrong.
    
  4. login: "dkf"
  5. mimetype: "text/html"
  6. severity changed to: "Minor"
  7. username: "dkf"