Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unncessary use of $LDFLAGS in components/servo/fake-ld.sh? #12562

Closed
aneeshusa opened this issue Jul 22, 2016 · 0 comments
Closed

Unncessary use of $LDFLAGS in components/servo/fake-ld.sh? #12562

aneeshusa opened this issue Jul 22, 2016 · 0 comments
Labels

Comments

@aneeshusa
Copy link
Member

@aneeshusa aneeshusa commented Jul 22, 2016

Filing this as a TODO reminder for myself, but open for anyone to poke at. Follow-up from #12295.

Currently this script includes "${LDFLAGS}" as part of the arguments to the arm-linux-androideabi-gcc linker. However, based on a quick look through the rustc code, it seems like rustc will pass any linker arguments as regular args instead of through the LDFLAGS environment variable, and so we shouldn't need to read from that variable.

This needs to be verified by taking out the reference to $LDFLAGS in the script, cross-compiling Servo for Android, and executing the binary to make sure it builds + runs correctly.

@aneeshusa aneeshusa added the A-build label Jul 22, 2016
@aneeshusa aneeshusa mentioned this issue Sep 2, 2016
5 of 5 tasks complete
bors-servo added a commit that referenced this issue Oct 28, 2016
…,aneeshusa

Update the Android build system

A huge update for the Android build system, which makes the Android target build again.

There are still some runtime issues, see #13154. CC & created by @larsbergstrom.

Fixes #12562.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13945)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.