Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
07c35de3
Commit
07c35de3
authored
Oct 11, 2015
by
crimsonwoods
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement 'ldflags'.
This is the first step of implementing 'ldflags'.
parent
c38a2718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
tasks/toolchains/androidndk.rake
tasks/toolchains/androidndk.rake
+19
-1
No files found.
tasks/toolchains/androidndk.rake
View file @
07c35de3
...
...
@@ -164,7 +164,25 @@ Set ANDROID_NDK_HOME environment variable or set :ndk_home parameter
end
def
ldflags
%W(-D__android__ -mandroid --sysroot="
#{
sysroot
}
")
flags
=
[]
case
toolchain
when
:gcc
flags
=
%W(-D__android__ -mandroid --sysroot="
#{
sysroot
}
")
case
arch
when
/arm64/
flags
+=
%W()
#add required flags
when
/armeabi/
flags
+=
%W()
#add required flags
when
/mips64/
flags
+=
%W()
#add required flags
when
/mips/
flags
+=
%W()
#add required flags
when
/x86_64/
flags
+=
%W()
#add required flags
when
/x86/
flags
+=
%W()
#add required flags
end
end
end
def
ar
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment