1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Pass -Wno-uninitialized for the gettext compilation.

The compilation --with-debug failed on the plural.c.
This commit is contained in:
witekfl 2011-10-08 12:07:02 +02:00
parent 0e5822edae
commit c656c5c929
3 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,7 @@ LD = @LD@
GIT = @GIT@
CONFDIR = @CONFDIR@
DOXYGEN = @DOXYGEN@
GETTEXT_CFLAGS = @GETTEXT_CFLAGS@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@

View File

@ -1673,11 +1673,13 @@ fi
# A little fine tuning of gcc specific options (continued)
# ===================================================================
GETTEXT_CFLAGS=
if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
if test "$CONFIG_DEBUG" = "yes"; then
# We want to see all warnings and live with none (in debug mode).
CFLAGS="$CFLAGS -Werror"
fi
GETTEXT_CFLAGS="-Wno-uninitialized"
case "`$CC -dumpversion`" in
3.0|3.1|3.2)
@ -1778,6 +1780,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
done
fi
AC_SUBST(GETTEXT_CFLAGS)
EL_LOG_CONFIG(CFLAGS, [Compiler flags (CFLAGS)], [])
EL_LOG_CONFIG(CPPFLAGS, [Preprocessor flags (CPPFLAGS)], [])
EL_LOG_CONFIG(LDFLAGS, [Linker flags (LDFLAGS)], [])

View File

@ -4,6 +4,8 @@ include $(top_builddir)/Makefile.config
localedir = $(datadir)/locale
builddir = $(top_builddir)/src/intl/gettext
CFLAGS += $(GETTEXT_CFLAGS)
OBJS = \
bindtextdom.o \
dcgettext.o \