This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Look for libelf.h in libelf/libelf.h as well


This patch adds support for systems that have libelf.h in
libelf/libelf.h.

It also fixes the lto detection code in gcc/configure.ac to
propoerly disable ENABLE_LTO when lto was not passed in
--enable-languages by the parent configure.ac.

Tested on x86_64 and i686 with libelf.h, libelf/libelf.h and no
libelf installed.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]