九鼎创展论坛

标题: 用64位系统编译android的相关补丁 [打印本页]

作者: admin    时间: 2012-5-11 13:02
标题: 用64位系统编译android的相关补丁
  1. diff --git a/android/external/clearsilver/cgi/Android.mk b/android/external/clearsilver/cgi/Android.mk
  2. index 37b8246..21c534b 100644
  3. --- a/android/external/clearsilver/cgi/Android.mk
  4. +++ b/android/external/clearsilver/cgi/Android.mk
  5. @@ -13,8 +13,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
  6. LOCAL_CFLAGS := -fPIC

  7. # This forces a 64-bit build for Java6
  8. -LOCAL_CFLAGS += -m32
  9. -LOCAL_LDFLAGS += -m32
  10. +LOCAL_CFLAGS += -m64
  11. +LOCAL_LDFLAGS += -m64

  12. LOCAL_NO_DEFAULT_COMPILER_FLAGS := true

  13. diff --git a/android/external/clearsilver/cs/Android.mk b/android/external/clearsilver/cs/Android.mk
  14. index 275845d..9f0e30a 100644
  15. --- a/android/external/clearsilver/cs/Android.mk
  16. +++ b/android/external/clearsilver/cs/Android.mk
  17. @@ -9,8 +9,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
  18. LOCAL_CFLAGS := -fPIC

  19. # This forces a 64-bit build for Java6
  20. -LOCAL_CFLAGS += -m32
  21. -LOCAL_LDFLAGS += -m32
  22. +LOCAL_CFLAGS += -m64
  23. +LOCAL_LDFLAGS += -m64

  24. LOCAL_NO_DEFAULT_COMPILER_FLAGS := true

  25. diff --git a/android/external/clearsilver/java-jni/Android.mk b/android/external/clearsilver/java-jni/Android.mk
  26. index c1d38d2..21b4fd1 100644
  27. --- a/android/external/clearsilver/java-jni/Android.mk
  28. +++ b/android/external/clearsilver/java-jni/Android.mk
  29. @@ -34,8 +34,8 @@ LOCAL_C_INCLUDES := \
  30. LOCAL_CFLAGS += -fPIC

  31. # This forces a 64-bit build for Java6
  32. -LOCAL_CFLAGS += -m32
  33. -LOCAL_LDFLAGS += -m32
  34. +LOCAL_CFLAGS += -m64
  35. +LOCAL_LDFLAGS += -m64

  36. LOCAL_NO_DEFAULT_COMPILER_FLAGS := true

  37. diff --git a/android/external/clearsilver/util/Android.mk b/android/external/clearsilver/util/Android.mk
  38. index b694ef4..386f379 100644
  39. --- a/android/external/clearsilver/util/Android.mk
  40. +++ b/android/external/clearsilver/util/Android.mk
  41. @@ -18,8 +18,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
  42. LOCAL_CFLAGS := -fPIC

  43. # This forces a 64-bit build for Java6
  44. -LOCAL_CFLAGS += -m32
  45. -LOCAL_LDFLAGS += -m32
  46. +LOCAL_CFLAGS += -m64
  47. +LOCAL_LDFLAGS += -m64

  48. LOCAL_NO_DEFAULT_COMPILER_FLAGS := true
复制代码



作者: pon    时间: 2012-8-17 09:29
請問這個補丁怎樣使用?




欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/) Powered by Discuz! X3.2