This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport debug junk


My cygport is 0.10.11-1.  I haven't run cygport in a while, and now I'm trying
to compile a new package.  When I do, by default it seems that I get

CC = "gcc -c -ggdb -O2 -pipe
-fdebug-prefix-map=/home/ASchulma/dev/cygwin/wbox/wbox-5-1/build=/usr/src/debug/wbox-5-1\
-fdebug-prefix-map=/home/ASchulma/dev/cygwin/wbox/wbox-5-1/src/wbox-5=/usr/src/debug/wbox-5-1"

and the install target then creates a bunch of (IMO) debug junk in
/usr/lib/debug and /usr/src/debug.

Try as I might, I can't seem to get rid of all of that stuff.  I've tried
forcing CC=gcc in the Makefile, and some other things, but I can't seem to get
rid of all of the debug products.  It's nothing having to do with the Makefile,
which is simple and doesn't include any -ggdb etc.

Is this a change that's been made recently in cygport?  Can it be easily turned
off?  Or, could someone suggest where '-ggdb -O2 -pipe' etc might be coming
from?  I grepped through /usr/share/cygport for that, and found that
compilers.cygclass uses it, but I don't include that in my cygport script
(below).

Thanks,
Andrew.

#
# cygport script for wbox
# by Andrew E. Schulman, 2012-07-18
#

DESCRIPTION="HTTP testing tool and configuration-less HTTP server"
HOMEPAGE="http://www.hping.org/wbox";
SRC_URI="http://www.hping.org/wbox/wbox-${PV}.tar.gz";

src_compile ()
{
    cd "${B}"
    lndirs
    cygmake
}

src_install ()
{
    cd "${B}"
    dobin wbox
    doman wbox.1.gz

    dodir /usr/share/doc/${PN}
    dosym ../Cygwin/${PN}.README /usr/share/doc/${PN}/README.Cygwin
}


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]