mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Accoding to the implementation of 'cflags', '-no-canonical-prefixes' is isolated.
This commit is contained in:
@@ -163,7 +163,8 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
|
||||
flags = []
|
||||
case toolchain
|
||||
when :gcc
|
||||
flags = %W(-D__android__ -mandroid --sysroot="#{sysroot}" -no-canonical-prefixes)
|
||||
flags += %W(-no-canonical-prefixes)
|
||||
flags += %W(-D__android__ -mandroid --sysroot="#{sysroot}")
|
||||
case arch
|
||||
when 'armeabi-v7a-hard'
|
||||
flags += %W(-march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-warn-mismatch -lm_hard)
|
||||
|
||||
Reference in New Issue
Block a user