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

Add PIC option #89

Merged
merged 3 commits into from Oct 15, 2019
Merged

Add PIC option #89

merged 3 commits into from Oct 15, 2019

Conversation

lthiery
Copy link
Contributor

@lthiery lthiery commented Oct 9, 2019

I had trouble using cmake-rs to make a library that I was linking to from an embedded project, where it's standard practice to not have a global offset table.

As suggested in the link above, setting Build.pic value to the right thing solves the issue, but I couldn't find out how to override it with the current API.

@MabezDev
Copy link

MabezDev commented Oct 10, 2019

I was just about to submit a PR for this too! Ran into this building mbedtls for a arm board. Hoping this gets merged quickly.

@alexcrichton
Copy link
Member

Looks good to me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants