Commit d536c76a authored by torne@chromium.org's avatar torne@chromium.org

android: disable NLS when building yasm.

When crosscompiling for android on mac hosts, some machines don't have
the NLS header files available. Rather than insist on another build
dependency, just disable NLS when building yasm; we can live without
localisation in a build-time tool.

BUG=

Review URL: https://codereview.chromium.org/146833017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251333 0039d316-1c4b-4281-b951-d872f2087c98
parent df691245
...@@ -37,7 +37,8 @@ Instructions for recreating the yasm.gyp file. ...@@ -37,7 +37,8 @@ Instructions for recreating the yasm.gyp file.
5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into 5) Grab the generated Makefile, libyasm-stdint.h, config.h, and put into
the correct platform location. For android platform, copy the files the correct platform location. For android platform, copy the files
generated for linux. For ios, copy the files from mac. generated for linux, but make sure that ENABLE_NLS is not defined to
allow mac host compiles to work. For ios, copy the files from mac.
src/third_party/yasm/source/config/[platform] src/third_party/yasm/source/config/[platform]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#define CPP_PROG "gcc -E" #define CPP_PROG "gcc -E"
/* */ /* */
#define ENABLE_NLS 1 /* #undef ENABLE_NLS */
/* Define to 1 if you have the `abort' function. */ /* Define to 1 if you have the `abort' function. */
#define HAVE_ABORT 1 #define HAVE_ABORT 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment