From 97882278abb00d3d2ea33b2ead5c984b876e3cb8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Apr 2008 13:28:21 -0400 Subject: [PATCH] Work around dpkg bug #476138. Closes: #475979 * Work around dpkg bug #476138. Closes: #475979 * Use CC consistently. --- Makefile | 3 ++- debian/changelog | 7 +++++++ ky00te.dir/makefile | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 183d7c7..a7d15ff 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ BUILD = jethro kraut cockney jive nyc ken ky00te newspeak nethackify OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd \ censor spammer uniencode pirate kenny scottish fanboy CFLAGS = -O2 -lfl +export CFLAGS INSTALL_PROGRAM = install # DEB_BUILD_OPTIONS suport, to control binary stripping. @@ -54,7 +55,7 @@ ky00te: kraut: cd kraut.dir && lex kraut.l - cd kraut.dir && cc kraut.c lex.yy.c -o ../kraut + cd kraut.dir && $(CC) kraut.c lex.yy.c -o ../kraut nethackify: cd nethackify.dir && make diff --git a/debian/changelog b/debian/changelog index 717a2db..5633698 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +filters (2.44) unstable; urgency=low + + * Work around dpkg bug #476138. Closes: #475979 + * Use CC consistently. + + -- Joey Hess Mon, 14 Apr 2008 13:26:53 -0400 + filters (2.43) unstable; urgency=low * Added the fanboy filter. diff --git a/ky00te.dir/makefile b/ky00te.dir/makefile index 90a8efe..47d1f64 100644 --- a/ky00te.dir/makefile +++ b/ky00te.dir/makefile @@ -5,13 +5,13 @@ clean: rm -f ../ky00te ../ky00te: y.tab.o lex.yy.o - cc $(CFLAGS) -o ../ky00te lex.yy.o y.tab.o -lfl + $(CC) -o ../ky00te lex.yy.o y.tab.o $(CFLAGS) lex.yy.o: lex.yy.c y.tab.h - cc $(CFLAGS) -c lex.yy.c + $(CC) $(CFLAGS) -c lex.yy.c y.tab.o: y.tab.c - cc $(CFLAGS) -c y.tab.c + $(CC) $(CFLAGS) -c y.tab.c lex.yy.c: ky00te.lex flex ky00te.lex -- 2.39.2