Erik Schnetter, le Sat 18 Jan 2014 07:29:37 +0100, a écrit :
> You probably need to set CFLAGS in addition to CXXFLAGS.
Yes, CXXFLAGS is for C++ files. hwloc doesn't have any :)
It's CFLAGS which is for C.
That being said, I wonder the gain you will have: all the probing
functions will still get pulled in, and for Linux that'll be the most
part of hwloc. Be sure to explicitly disable PCI and such at configure
time to at least avoid including these probing functions.