Commit abaad5c0 authored by crimsonwoods's avatar crimsonwoods

Some flags (-fpic and etc.) should be set by default for 'armeabi-v7a' and 'armeabi' architecture.

parent 61a188a3
...@@ -134,9 +134,9 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter ...@@ -134,9 +134,9 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
when /arm64/ when /arm64/
flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes) flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes)
when 'armeabi-v7a' 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/ 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/ 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) 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/ when /mips/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment