Squashed 'Core/CppMicroServices/' changes from e8a4f21..15b6fc3
15b6fc3 Include the correct CMake script for compiler flag checks.
5384bd3 COMP Fixed build error for mac gcc which does not support some gnu linker flags
d968475 Fixed linker error on Mac. For clang this check does not recognize that these linkerflags are not support and due to that it gives a linker error
15ffb11 Fixed build error by using a different cmake function for checking the compiler flags
git-subtree-dir: Core/CppMicroServices
git-subtree-split: 15b6fc3dfc4d669c792ec283fe53cd2dcf341a8e