author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | |
Thu, 17 Aug 2017 13:01:27 +0000 (15:01 +0200) | ||
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | |
Thu, 17 Aug 2017 13:01:27 +0000 (15:01 +0200) | ||
commit | 5668f55e9eab2cb6cde91ba8a620d5d7a816fc71 | |
tree | 5f57cb4ba2e8957c8003a05d54aca6b3eee3b69b | tree | snapshot |
parent | 6ca79b67b41c4055acf3ae953773d0bb0150f3a4 | commit | diff |
configure.ac: dpdk: append DPDK_CFLAGS to LIBDPDK_CPPFLAGS
In some way it is bad naming in pkg-config - it is always some sort of
conflated ldflags + libs and cppflags + cxxflags + cflags.
Due to that to work correctly we append DPDK_CFLAGS (if defined by
pkg-config) to LIBDPDK_CPPFLAGS as well.
This intentionally does not add those CFLAGS specified by a user to
allow full override and fully separated CLFAGS/CPPFLAGS if needed.
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
In some way it is bad naming in pkg-config - it is always some sort of
conflated ldflags + libs and cppflags + cxxflags + cflags.
Due to that to work correctly we append DPDK_CFLAGS (if defined by
pkg-config) to LIBDPDK_CPPFLAGS as well.
This intentionally does not add those CFLAGS specified by a user to
allow full override and fully separated CLFAGS/CPPFLAGS if needed.
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
configure.ac | diff | blob | history |