Skip to content

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

Closed

Description

@aneeshusa

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.

Activity

  1. added
    A-build
    on Jul 22, 2016
  2. added a commit that references this issue on Oct 28, 2016
    b933015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions