summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcrimsonwoods <[email protected]>2015-10-11 16:32:50 +0900
committercrimsonwoods <[email protected]>2015-10-11 16:32:50 +0900
commitabaad5c0d655579690e7f7852d89a47a9403ec5a (patch)
treea492a7c9f8b3966e7a0180070f14472edfb73432
parent61a188a38afbfa6859eeafb2a0b243d984e9fde5 (diff)
downloadmruby-abaad5c0d655579690e7f7852d89a47a9403ec5a.tar.gz
mruby-abaad5c0d655579690e7f7852d89a47a9403ec5a.zip
Some flags (-fpic and etc.) should be set by default for 'armeabi-v7a' and 'armeabi' architecture.
-rw-r--r--tasks/toolchains/androidndk.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/toolchains/androidndk.rake b/tasks/toolchains/androidndk.rake
index 597d474a6..686bf8d38 100644
--- a/tasks/toolchains/androidndk.rake
+++ b/tasks/toolchains/androidndk.rake
@@ -134,9 +134,9 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
when /arm64/
flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes)
when 'armeabi-v7a'
- flags += %W(-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16)
+ flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16)
when /arm/
- flags += %W(-march=armv5te -mtune=xscale -msoft-float)
+ flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float)
when /mips64/
flags += %W(-fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes)
when /mips/