Skip to content

Commit 3e25f0b

Browse files
author
minggo
authored
remove APP_SHORT_COMMANDS setting (cocos2d#17722)
some developers report it will cause error on Windows though i can not reproduce it. It is strange, the setting is used to resolve command length limitation on Windows.
1 parent abcc4e6 commit 3e25f0b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

templates/cpp-template-default/proj.android/jni/Application.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-ch
44
APP_LDFLAGS := -latomic
55

66
APP_ABI := armeabi
7-
APP_SHORT_COMMANDS := true
7+
# developers report it will cause error on Windows
8+
# APP_SHORT_COMMANDS := true
89

910

1011
ifeq ($(NDK_DEBUG),1)

templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-ch
77
APP_LDFLAGS := -latomic
88

99
APP_ABI := armeabi
10-
APP_SHORT_COMMANDS := true
10+
# developers report it will cause error on Windows
11+
# APP_SHORT_COMMANDS := true
1112

1213
USE_ARM_MODE := 1
1314

templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Application.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-ch
44
APP_LDFLAGS := -latomic
55

66
APP_ABI := armeabi
7-
APP_SHORT_COMMANDS := true
7+
# developers report it will cause error on Windows
8+
# APP_SHORT_COMMANDS := true
89

910

1011
ifeq ($(NDK_DEBUG),1)

0 commit comments

Comments
 (0)