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

WIP: x86_64 rtems - Improve support for building shared dynamic libraries #1

Open
wants to merge 4 commits into
base: master
from
Open

XXX: rtemself64.h (x86_64-*-rtems*): Use -fPIC by default

TODO: Remember this is all meant to go in the multilib variant, not in the
default tooling itself!
  • Loading branch information...
AmaanC committed Jun 5, 2018
commit 5f7531f9b9f72fcbd2738e535a2a18f2c706212f
@@ -42,3 +42,8 @@
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"

/* Use -fPIC by default unless specified otherwise */
#undef CC1_SPEC
#define CC1_SPEC \
"%{!fno-pic:%{!fno-PIC:%{!fpic:%{!fPIC: -fPIC}}}}"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.