summaryrefslogtreecommitdiff
path: root/src/nm-ip4-config.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-01 10:26:59 +0200
committerThomas Haller <thaller@redhat.com>2017-06-01 12:51:31 +0200
commit484d666485f481ea3fce447bfeec0b32a3b4f793 (patch)
tree463dbd9f4f5a8660dddd35f67fc49d83f1a0f723 /src/nm-ip4-config.h
parentafebdc795d90e9555b5004905955b267b81b9785 (diff)
downloadNetworkManager-484d666485f481ea3fce447bfeec0b32a3b4f793.tar.gz
build: fix nm binutils tool when building with LTO
When building with -flto, we need to use linker plugins. In case of binutils' nm, it means to prefer gcc-nm if available. Like for ranlib and ar, prefer gcc-nm. - replace AC_PATH_TOOL() by AC_CHECK_TOOLS(). That is consistent with what we do for ar,ranlib and suggested on bgo#783311. - instead of using the variable $BINUTILS_NM, replace it by $NM, which is more common according to bgo#783311. - Keep recognizing $BINUTILS_NM environment, which was introduced by commit 8bc88bcc7c. This is purely to keep previous build scripts working. Originally I named it "$BINUTILS_NM" because using $NM in NetworkManager seemed confusing. But well... https://bugs.gentoo.org/show_bug.cgi?id=620052 https://bugzilla.gnome.org/show_bug.cgi?id=782525 https://bugzilla.gnome.org/show_bug.cgi?id=783311
Diffstat (limited to 'src/nm-ip4-config.h')
0 files changed, 0 insertions, 0 deletions