From: Bruno Haible Date: Thu, 11 May 2006 18:33:59 +0000 (+0000) Subject: Simplify compiling format.c in C++ mode. X-Git-Tag: v0.15~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b12bfe0c10e04eeb9bbd50b53f493392d95284;p=thirdparty%2Fgettext.git Simplify compiling format.c in C++ mode. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index c6a291aa4..9b4da9c34 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2006-05-11 Bruno Haible + + * Makefile.am (format_CFLAGS): Remove variable. + (format.lo): Remove variable. + 2006-05-09 Bruno Haible * plural-eval.h (USE_SIGINFO): Don't define on Cygwin. diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 85a82ce50..b411e3264 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -218,15 +218,6 @@ libgettextsrc_la_LDFLAGS = \ -release @VERSION@ \ ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@ -# Special rules for mingw. -if MINGW -format_CFLAGS = -x c++ -# Work around an automake 1.9 bug: *_CFLAGS settings are ignored for elements -# of a libtool library. -format.lo: format.c - $(LTCOMPILE) $(format_CFLAGS) -c -o format.lo format.c -endif - # No need to install libgettextsrc.a, except on AIX. install-exec-local: install-libLTLIBRARIES install-exec-clean install-exec-clean: