diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 11:09:49 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2016-06-21 07:50:02 +0200 |
commit | b6a2fd0e0dbf5d2f45fd9307c7577f94b1e4d169 (patch) | |
tree | 7ed509cebc9122dfbcc88a0b7a5cac2a5a5b53e9 /tests/diff/diffiter.c | |
parent | bb0edf87ce33cbf454fa13490621230cb43d247b (diff) | |
download | libgit2-b6a2fd0e0dbf5d2f45fd9307c7577f94b1e4d169.tar.gz |
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.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions