]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* po/Makefile.in.in: Make msgfmt output in little-endian in accordance
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 15:02:37 +0000 (17:02 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 15:02:37 +0000 (17:02 +0200)
with GRUB expectance.

ChangeLog
po/Makefile.in.in

index 5a02e65cc8dfbca37d7031ce37bb32ebb7fa1017..dbe0c4e73e5052ef956ed3e9db7ad578bd462e51 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-03  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * po/Makefile.in.in: Make msgfmt output in little-endian in accordance
+       with GRUB expectance.
+
 2012-05-03  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-fstest.c (cmd_cmp): Compare directories recursively.
index 9e549917aedc479f992d0133441025e0c58612c6..83a3220d6e69e4160979f9ca106e2d96ca4e13fa 100644 (file)
@@ -84,13 +84,13 @@ CATALOGS = @CATALOGS@
 
 .po.mo:
        @echo "$(MSGFMT) -c -o $@ $<"; \
-       $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+       $(MSGFMT) --endianness=little -c -o t-$@ $< && mv t-$@ $@
 
 .po.gmo:
        @lang=`echo $* | sed -e 's,.*/,,'`; \
        test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
-       echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
-       cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+       echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+       cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
 
 .sin.sed:
        sed -e '/^#/d' $< > t-$@