How to pass CFLAGS to upstream's Makefile with debhlepler ?
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
CFLAGS ?= -g -Wall -O2
I wonder if it was the right thing to do, and if it is a change that can be
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,
Debian Med packaging team,
Tsurumi, Kanagawa, Japan