@@ -298,7 +298,7 @@ to find the compiler. NaCl currently supports only OpenGL ES 2, thus
298
298
`TARGET_GLES` and `TARGET_GLES2` is always enabled.
299
299
300
300
Then create build directories for x86-32 and x86-64 and run cmake and make in
301
- them. The toolchains need access to its platform file, so be sure to properly
301
+ them. The toolchains need access to the platform file, so be sure to properly
302
302
set **absolute** path to `modules/` directory containing `Platform/NaCl.cmake`.
303
303
Also adapt `CMAKE_INSTALL_PREFIX` to the same value as in `NACL_PREFIX` in
304
304
toolchain file.
@@ -307,7 +307,7 @@ toolchain file.
307
307
cd build-nacl-x86-32
308
308
cmake .. \
309
309
-DCMAKE_MODULE_PATH="/absolute/path/to/toolchains/modules" \
310
- -DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-glibc -x86-32.cmake" \
310
+ -DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-newlib -x86-32.cmake" \
311
311
-DCMAKE_BUILD_TYPE=Release \
312
312
-DCMAKE_INSTALL_PREFIX=/usr/nacl \
313
313
-DWITH_NACLAPPLICATION=ON \
@@ -318,7 +318,7 @@ toolchain file.
318
318
cd build-nacl-x86-64
319
319
cmake .. \
320
320
-DCMAKE_MODULE_PATH="/absolute/path/to/toolchains/modules" \
321
- -DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-glibc -x86-64.cmake" \
321
+ -DCMAKE_TOOLCHAIN_FILE="../toolchains/generic/NaCl-newlib -x86-64.cmake" \
322
322
-DCMAKE_BUILD_TYPE=Release \
323
323
-DCMAKE_INSTALL_PREFIX=/usr/nacl \
324
324
-DWITH_NACLAPPLICATION=ON
0 commit comments