-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
depends: always pass --with-pic to autoconf builds #9671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this. Question. Do we need pic
for everything? Usually pic codeis more bloated.
My understanding is that this flag instructs See also the libtool documentation (Note: Precision Independent Code is a security feature. Our release binaries are already PIE. |
670a632
to
12487dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving.
If there was easy way to enable and disable pic when building depends
that would’ve been great.
12487dd
to
325e317
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in full support, I had to enable pic for contrib/depends manually when building wallet_api in monero_c in order to link for iOS and android, this change remove at least a couple lines of extra patches.
While not this exact approach I have also tested the same config option
No description provided.