Commit 61a188a3 authored by crimsonwoods's avatar crimsonwoods

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

parent 86f710cf
......@@ -132,7 +132,7 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
flags += %W(-D__android__ -mandroid --sysroot="#{sysroot}")
case arch
when /arm64/
flags += %W()
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)
when /arm/
......
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