git: gcc47: Fix plugin mechanism
John Marino
marino at crater.dragonflybsd.org
Sat Feb 2 08:05:01 PST 2013
commit be6440e3915e8a6db41daf31a87459bf29621b1b
Author: John Marino <draco at marino.st>
Date: Sat Feb 2 16:29:40 2013 +0100
gcc47: Fix plugin mechanism
There were two problems with gcc 4.7 LTO plugin:
1) It needed a number of object files from libiberty.
Unfortunately the previous object files couldn't be used as they need
to be built with -fPIC and libiberty is only an internal (non-pic) lib.
2) The plugin header directory was missing completely, as seen with
gcc -print-file-name=plugin only returning "plugin".
Summary of changes:
etc/mtree/BSD.usr.dist | 14 +++
gnu/usr.bin/cc47/liblto_plugin/Makefile | 42 +++++++
gnu/usr.bin/cc47/liblto_plugin/Makefile.headers | 159 ++++++++++++++++++++++++
3 files changed, 215 insertions(+)
create mode 100644 gnu/usr.bin/cc47/liblto_plugin/Makefile.headers
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be6440e3915e8a6db41daf31a87459bf29621b1b
--
DragonFly BSD source repository
More information about the Commits
mailing list