From: Vladimir 'phcoder' Serbinenko Date: Tue, 21 Feb 2012 14:26:16 +0000 (+0100) Subject: * configure.ac: Add -fno-builtin-gettext on host if NLS is disabled. X-Git-Tag: 2.00~599 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad32b14024b2c033cea1fe3d786f9e7178ae84a;p=thirdparty%2Fgrub.git * configure.ac: Add -fno-builtin-gettext on host if NLS is disabled. --- diff --git a/ChangeLog b/ChangeLog index 20499d719..4854630ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-21 Vladimir Serbinenko + + * configure.ac: Add -fno-builtin-gettext on host if NLS is disabled. + 2012-02-19 Samuel Thibault * util/grub-mkconfig.in (GRUB_CMDLINE_GNUMACH): Export variable. diff --git a/configure.ac b/configure.ac index e70064f75..8535c9a34 100644 --- a/configure.ac +++ b/configure.ac @@ -290,6 +290,10 @@ if test x$grub_cv_apple_cc = xyes ; then HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" fi +if test x$USE_NLS = xno; then + HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext" +fi + if test "x$cross_compiling" = xyes; then AC_MSG_WARN([cannot generate manual pages while cross compiling]) else