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

Remove explicit -fPIC in C interface cmake #323

Closed
wants to merge 1 commit into from

Conversation

liss-h
Copy link
Contributor

@liss-h liss-h commented Jun 26, 2024

This PR just removes the explicit -fPIC that is added to the CXX_FLAGS for the C api.
Setting this flag explicitly is not necessary as it can be handled by passing -DCMAKE_POSITION_INDEPENDENT_CODE=ON to cmake, if so desired.

@KIwabuchi
Copy link
Member

That's a good point!

In addition to removing -fPIC, how about making the following modifications?
4580e12

@liss-h
Copy link
Contributor Author

liss-h commented Jun 27, 2024

That's a good point!

In addition to removing -fPIC, how about making the following modifications? 4580e12

sure, why not

@KIwabuchi
Copy link
Member

Closed this PR. New one is #324.

@KIwabuchi KIwabuchi closed this Jun 27, 2024
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