Skip to content

Commit

Permalink
Omit -O for the Windows ndk-build
Browse files Browse the repository at this point in the history
This option was added in r21, but it was broken with the upgrade to
GNU Make 4.3. We can pass it again when make is fixed

Bug: android/ndk#1492
Test: manual
Change-Id: Idaddf69194ddf616249ff1671d35d3962f949d9c
  • Loading branch information
rprichard committed Jul 2, 2021
1 parent c544acc commit 0ecc433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/ndk-build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ set PYTHONHOME=
set PYTHONPATH=
set NDK_ROOT=%~dp0\..
set PREBUILT_PATH=%NDK_ROOT%\prebuilt\windows-x86_64
"%PREBUILT_PATH%\bin\make.exe" -O -f "%NDK_ROOT%\build\core\build-local.mk" SHELL=cmd %*
rem TODO: Reenable -O when make.exe's output-sync is fixed.
rem See https://github.com/android/ndk/issues/1492.
"%PREBUILT_PATH%\bin\make.exe" -f "%NDK_ROOT%\build\core\build-local.mk" SHELL=cmd %*

0 comments on commit 0ecc433

Please sign in to comment.