diff options
| author | crimsonwoods <[email protected]> | 2015-10-11 16:40:59 +0900 |
|---|---|---|
| committer | crimsonwoods <[email protected]> | 2015-10-11 16:40:59 +0900 |
| commit | 1ac5d3575374e3f664fc9cbb9eb410fe03cd6f79 (patch) | |
| tree | c057ee730e742d5866ef7978edd37fbbe4714ba8 /tasks/toolchains | |
| parent | 3458a83e89c4677b8caa6cb0c810b39aa5ba8a76 (diff) | |
| download | mruby-1ac5d3575374e3f664fc9cbb9eb410fe03cd6f79.tar.gz mruby-1ac5d3575374e3f664fc9cbb9eb410fe03cd6f79.zip | |
Remove duplicated compiler options.
Diffstat (limited to 'tasks/toolchains')
| -rw-r--r-- | tasks/toolchains/androidndk.rake | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tasks/toolchains/androidndk.rake b/tasks/toolchains/androidndk.rake index e0416a160..1f2729796 100644 --- a/tasks/toolchains/androidndk.rake +++ b/tasks/toolchains/androidndk.rake @@ -128,23 +128,23 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter case toolchain when :gcc - flags += %W(-ffunction-sections -funwind-tables -fstack-protector) + flags += %W(-ffunction-sections -funwind-tables) flags += %W(-D__android__ -mandroid --sysroot="#{sysroot}") case arch when /arm64/ - flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes) + flags += %W(-fpic -fstack-protector-strong -no-canonical-prefixes) when 'armeabi-v7a-hard' - flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mhard-float -D_NDK_MATH_NO_SOFTFP=1 -mfpu=vfpv3-d16) + flags += %W(-fpic -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mhard-float -D_NDK_MATH_NO_SOFTFP=1 -mfpu=vfpv3-d16) when 'armeabi-v7a' - flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16) + flags += %W(-fpic -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16) when /arm/ - flags += %W(-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float) + flags += %W(-fpic -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) + flags += %W(-fpic -fno-strict-aliasing -finline-functions -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes) when /mips/ flags += %W(-fpic -fno-strict-aliasing -finline-functions -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers) when /x86/ - flags += %W(-ffunction-sections -funwind-tables -no-canonical-prefixes) + flags += %W(-no-canonical-prefixes) end when :clang end |
