ipmid: use a common set of CXX flags across ipmid and provider libraries

This standardizes the set of CXX flags used to compile. This makes the
file easier to read and ensures that all the libraries are all compiled
with the same options as the executable.

This also adds -Wno-psabi, which reduces the number of "Note:" messages
when cross-compiling some STL stuff for ARM. See
https://stackoverflow.com/questions/48149323/strange-gcc-warning-when-compiling-qt-project
for details. Basically, gcc 6 and gcc 7 are not ABI compatible, but
since the whole openbmc project uses the same compiler, we can safely
ignore the informational notes.

Change-Id: Idc343245404d0b471b7bec4462ac36c9477a7361
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
2 files changed