10000 Don't force -fPIC when building libelf by msteveb · Pull Request #1325 · crosstool-ng/crosstool-ng · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Don't force -fPIC when building libelf #1325

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? 8000 Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msteveb
Copy link
Contributor
@msteveb msteveb commented Apr 1, 2020

microblaze-nommu (BFLT) need libelf to be built without -fPIC,
but crosstool-ng forces -fPIC.

It is not clear if this needs to be configurable per-platform

Signed-off-by: Steve Bennett steveb@workware.net.au

microblaze-nommu (BFLT) need libelf to be built without -fPIC,
but crosstool-ng forces -fPIC.

It is not clear if this needs to be configurable per-platform

Signed-off-by: Steve Bennett <steveb@workware.net.au>
@bhundven
Copy link
Contributor

I would suggest making this per-platform.
Maybe an option called: ARCH_SUPPORTS_FPIC
Then apply that to config/arch/... for everything except microblaze.

## select ARCH_SUPPORTS_FPIC

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.

2 participants
0