Some flags (-ffunction-sections and etc.) should be set by default for 'x86' architecture.

This commit is contained in:
crimsonwoods
2015-10-11 16:37:38 +09:00
parent b493c6bfde
commit 3458a83e89
+2
View File
@@ -143,6 +143,8 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
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/
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)
end
when :clang
end