From 73dc3a91efd58da0b1fcce6c48a12361be71cd03 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sun, 20 Oct 2013 21:41:47 +0200 Subject: [PATCH] Move hashfile definition from configure.ac into Makefile.in Like other similar defs... --- configure.ac | 6 +++--- gnushogi/Makefile.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 926f7f1..42f3f8c 100644 --- a/configure.ac +++ b/configure.ac @@ -58,13 +58,13 @@ AC_CHECK_LIB(termcap, tgoto) if [[ $ac_cv_c_compiler_gnu = yes ]] then WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic" -CEXTRAFLAGS="-fsigned-char -funroll-loops \$(HASH)" +CEXTRAFLAGS="-fsigned-char -funroll-loops" # For profiling targets: -CEXTRAFLAGS2="-fsigned-char -pg -fprofile-arcs -ftest-coverage \$(HASH)" +CEXTRAFLAGS2="-fsigned-char -pg -fprofile-arcs -ftest-coverage" else # Who knows what warnings your compiler uses? WARNINGS= -CEXTRAFLAGS="\$(HASH)" +CEXTRAFLAGS= fi AC_SUBST(WARNINGS) diff --git a/gnushogi/Makefile.in b/gnushogi/Makefile.in index 9ceb4e9..4fa0c36 100644 --- a/gnushogi/Makefile.in +++ b/gnushogi/Makefile.in @@ -73,7 +73,7 @@ LCURSES = @LIBCURSES@ CC = @CC@ CWARNINGS = @WARNINGS@ CEXTRAFLAGS = @CEXTRAFLAGS@ -CFLAGS = @CFLAGS@ $(CEXTRAFLAGS) $(CWARNINGS) -I$(ROOT) -I@top_builddir@ -I. +CFLAGS = @CFLAGS@ $(HASH) $(CEXTRAFLAGS) $(CWARNINGS) -I$(ROOT) -I@top_builddir@ -I. LDFLAGS = @LDFLAGS@ # The hashfile is a record of positions seen. It is used by -- 1.7.0.4