九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 3459|回复: 1
打印 上一主题 下一主题

用64位系统编译android的相关补丁

[复制链接]
跳转到指定楼层
楼主
发表于 2012-5-11 13:02:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  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
复制代码


回复

使用道具 举报

沙发
发表于 2012-8-17 09:29:59 | 只看该作者
請問這個補丁怎樣使用?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-25 16:39 , Processed in 0.017767 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表