Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Avoid TEXTRELS https://bugs.gentoo.org/show_bug.cgi?id=439410 #4

Closed
wants to merge 1 commit into from

Conversation

jlec
Copy link

@jlec jlec commented Dec 6, 2012

In order to avoid TEXTRELs (https://bugs.gentoo.org/show_bug.cgi?id=439410)
we need to add fPic on 32bit too.

Signed-off-by: Justin Lecher jlec@gentoo.org

In order to avoid TEXTRELs (https://bugs.gentoo.org/show_bug.cgi?id=439410)
we need to add fPic on 32bit too.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
@ghutchis
Copy link
Collaborator

ghutchis commented Aug 4, 2015

@cryos Any feedback on merging this? Should I use Albert's approach?

@cryos
Copy link
Owner

cryos commented Aug 6, 2015

For simplicity I would consider just using this approach. I am not convinced the other approach will work as expected on Windows. This is far less disruptive too.

@ghutchis
Copy link
Collaborator

ghutchis commented Aug 6, 2015

Looks like master already has:
set_target_properties(spglib PROPERTIES POSITION_INDEPENDENT_CODE TRUE)

So everyone gets -fPIC regardless of processor. Seems like that the's the right fix.

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

Successfully merging this pull request may close these issues.

None yet

3 participants