• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revision0ffb5fc0dce89f0772ea5e21438ec345385b4b4a (tree)
Zeit2010-02-27 16:12:49
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

mksh: remove -fstack-protector-all in LOCAL_CFLAGS

The option generates a symbol stack_chk_fail_local
which seems doesn't exist on x86 bionic.

Ändern Zusammenfassung

Diff

--- a/sh/Android.mk
+++ b/sh/Android.mk
@@ -21,7 +21,7 @@ LOCAL_SYSTEM_SHARED_LIBRARIES:= libc
2121
2222 LOCAL_C_INCLUDES:= $(LOCAL_PATH)/mksh
2323 # from Makefrag.inc: CFLAGS, CPPFLAGS
24-LOCAL_CFLAGS:= -fno-strict-aliasing -fstack-protector-all -fwrapv \
24+LOCAL_CFLAGS:= -fno-strict-aliasing -fwrapv \
2525 -Wall -Wextra \
2626 -DNO_STRTOD \
2727 -DMKSH_ASSUME_UTF8=0 -DMKSH_NOPWNAM \
@@ -69,7 +69,7 @@ LOCAL_SYSTEM_SHARED_LIBRARIES:= libc
6969
7070 LOCAL_C_INCLUDES:= $(LOCAL_PATH)/mksh
7171 # from Makefrag.inc: CFLAGS, CPPFLAGS
72-LOCAL_CFLAGS:= -fno-strict-aliasing -fstack-protector-all -fwrapv \
72+LOCAL_CFLAGS:= -fno-strict-aliasing -fwrapv \
7373 -Wall -Wextra \
7474 -DMKSH_ASSUME_UTF8=0 -DMKSH_SMALL -DMKSH_NO_LIMITS \
7575 -fno-inline -D_GNU_SOURCE \