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:
parent
0e5822edae
commit
c656c5c929
@ -59,6 +59,7 @@ LD = @LD@
|
|||||||
GIT = @GIT@
|
GIT = @GIT@
|
||||||
CONFDIR = @CONFDIR@
|
CONFDIR = @CONFDIR@
|
||||||
DOXYGEN = @DOXYGEN@
|
DOXYGEN = @DOXYGEN@
|
||||||
|
GETTEXT_CFLAGS = @GETTEXT_CFLAGS@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
GMSGFMT = @GMSGFMT@
|
GMSGFMT = @GMSGFMT@
|
||||||
|
@ -1673,11 +1673,13 @@ fi
|
|||||||
# A little fine tuning of gcc specific options (continued)
|
# A little fine tuning of gcc specific options (continued)
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
|
GETTEXT_CFLAGS=
|
||||||
if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
|
if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
|
||||||
if test "$CONFIG_DEBUG" = "yes"; then
|
if test "$CONFIG_DEBUG" = "yes"; then
|
||||||
# We want to see all warnings and live with none (in debug mode).
|
# We want to see all warnings and live with none (in debug mode).
|
||||||
CFLAGS="$CFLAGS -Werror"
|
CFLAGS="$CFLAGS -Werror"
|
||||||
fi
|
fi
|
||||||
|
GETTEXT_CFLAGS="-Wno-uninitialized"
|
||||||
|
|
||||||
case "`$CC -dumpversion`" in
|
case "`$CC -dumpversion`" in
|
||||||
3.0|3.1|3.2)
|
3.0|3.1|3.2)
|
||||||
@ -1778,6 +1780,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(GETTEXT_CFLAGS)
|
||||||
EL_LOG_CONFIG(CFLAGS, [Compiler flags (CFLAGS)], [])
|
EL_LOG_CONFIG(CFLAGS, [Compiler flags (CFLAGS)], [])
|
||||||
EL_LOG_CONFIG(CPPFLAGS, [Preprocessor flags (CPPFLAGS)], [])
|
EL_LOG_CONFIG(CPPFLAGS, [Preprocessor flags (CPPFLAGS)], [])
|
||||||
EL_LOG_CONFIG(LDFLAGS, [Linker flags (LDFLAGS)], [])
|
EL_LOG_CONFIG(LDFLAGS, [Linker flags (LDFLAGS)], [])
|
||||||
|
@ -4,6 +4,8 @@ include $(top_builddir)/Makefile.config
|
|||||||
localedir = $(datadir)/locale
|
localedir = $(datadir)/locale
|
||||||
builddir = $(top_builddir)/src/intl/gettext
|
builddir = $(top_builddir)/src/intl/gettext
|
||||||
|
|
||||||
|
CFLAGS += $(GETTEXT_CFLAGS)
|
||||||
|
|
||||||
OBJS = \
|
OBJS = \
|
||||||
bindtextdom.o \
|
bindtextdom.o \
|
||||||
dcgettext.o \
|
dcgettext.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user