How to pass CFLAGS to upstream's Makefile with debhlepler ?
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
Reply to: