summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-03-21 16:16:18 -0700
committerWilliam A. Kennington III <wak@google.com>2019-03-21 16:17:23 -0700
commit7a6287ce435614d15ecc5948d25d75a327d5d1d4 (patch)
tree532a76faa5903e3e7076fbe349117c5b91b6094c
parentf1aa51cedf4618d084ef9edd613d5f886fc8b73c (diff)
downloadphosphor-networkd-7a6287ce435614d15ecc5948d25d75a327d5d1d4.tar.gz
phosphor-networkd-7a6287ce435614d15ecc5948d25d75a327d5d1d4.zip
Makefile: Fix bad system header flag
gcc does not guarantee support for -isystem=<directory> syntax. It typically expects the flag to be in the form of 2 arguments `-isystem <directory>`. Update this so it works with all versions of gcc. Change-Id: I324446b414bc327961641c39dd36a3131c3bc5e1 Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 8e5c191..fad77d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,7 +40,7 @@ ncsi_netlink_LDFLAGS = \
-lnl-3 \
-lnl-genl-3
-ncsi_netlink_CPPFLAGS = -isystem=/usr/include/libnl3
+ncsi_netlink_CPPFLAGS = -isystem /usr/include/libnl3
ncsi_netlink_CXXFLAGS = -flto
OpenPOWER on IntegriCloud