Dear all,

trying to pass dpkg-buildglags' settings to an upstream build system
(http://git.debian.org/?p=debian-med/bwa.git), I found no other way than
patching their makefile, basically replacing

CFLAGS   = -g -Wall -O2

  with

CFLAGS  ?= -g -Wall -O2

I wonder if it was the right thing to do, and if it is a change that can be
forwarded upstream.

Also, I added $(CPPFLAGS) $(LDFLAGS) in some calls to $(CC), but I think I
remember reading that $(LDFLAGS) is not needed everywhere.  When in doubt, is
it safe to add them ?

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111114051204.ga...@merveille.plessy.net

Reply via email to