Commit b6a2fd0e0dbf5d2f45fd9307c7577f94b1e4d169

Patrick Steinhardt 2016-06-20T11:09:49

cmake: do not use -fPIC for MSYS2 The MSYS2 build system automatically compiles all code with position-independent code. When we manually add the -fPIC flag to the compiler flags, MSYS2 will loudly complain about PIC being the default and thus not required. Fix the annoyance by stripping -fPIC in MSYS2 enviroments like it is already done for MinGW.