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

Added -fPIC as compile flag #369

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

Conversation

lennykovac
Copy link

Can we consider to add this flag to the Makefile, it enables users that have bwa as their dependency to create shared objects.
From the manual page
-fPIC
If supported for the target machine, emit position-independent code, suitable for dynamic linking and avoiding any limit on
the size of the global offset table. This option makes a difference on AArch64, m68k, PowerPC and SPARC.
Position-independent code requires special support, and therefore works only on certain machines.
When this flag is set, the macros "pic" and "PIC" are defined to 2.

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.

1 participant