[Debian-med-packaging] Bug#985410: bioawk FTCBFS -- execute maketab during build

Helmut Grohne helmut at subdivi.de
Wed Mar 17 17:50:14 GMT 2021


Hi Nilesh,

On Wed, Mar 17, 2021 at 10:31:37PM +0530, Nilesh Patra wrote:
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -53,7 +53,7 @@
> + 	./maketab >proctab.c
> + 
> + maketab:	ytab.h maketab.c
> +-	$(CC) $(CFLAGS) $(CPPFLAGS) maketab.c -o maketab $(LDFLAGS)
> ++	$(CC_FOR_BUILD) $(CFLAGS) $(CPPFLAGS) maketab.c -o maketab $(LDFLAGS)

This change breaks the upstream build as CC_FOR_BUILD is never
initialized. You should add

    CC_FOR_BUILD ?= $(CC)

to make the patch upstreamable.

Helmut



More information about the Debian-med-packaging mailing list