mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 04:22:40 +00:00
Build: Use --java2 for msgfmt
Runtime should be smaller and faster w/o Hashtable Increases p200 size by < 1%; repack by 3.5%; updater by 4.5%
This commit is contained in:
1 parent
2b1c6a9d8f
commit
467a48cfe1
12 files changed
+24
-24
No files matched your search
@@ -105,7 +105,7 @@ do
|
||||
then
|
||||
# slow way
|
||||
# convert to class files in build/obj
|
||||
msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
|
||||
msgfmt --java2 --statistics -r $CLASS -l $LG -d build/obj $i
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
||||
@@ -123,7 +123,7 @@ do
|
||||
TDY=$TD2/net/i2p/util
|
||||
rm -rf $TD
|
||||
mkdir -p $TD $TDY
|
||||
msgfmt --java --statistics --source -r $CLASS -l $LG -d $TD $i
|
||||
msgfmt --java2 --statistics --source -r $CLASS -l $LG -d $TD $i
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "ERROR - msgfmt failed on ${i}, not updating translations"
|
||||
|
||||
Reference in new issue
Block a user