diff options
author | Scott J. Goldman <scottjgo@gmail.com> | 2012-05-26 18:20:33 -0700 |
---|---|---|
committer | Scott J. Goldman <scottjgo@gmail.com> | 2012-05-26 18:37:40 -0700 |
commit | 2eb1844990609fdf1c7d4c66e4f5a1dd397cd816 (patch) | |
tree | 928524f688a15b00ad734792c914b65a2a03166a /src/commit.c | |
parent | c1318f71256ffde36e1451677146daf63e793b49 (diff) | |
download | libgit2-2eb1844990609fdf1c7d4c66e4f5a1dd397cd816.tar.gz |
Refactor CMakeLists.txt for mingw cross-compile
Two things:
1) By default, Linux CMake puts -fPIC on the link line. So we remove that
for MINGW to avoid warnings that it will be ignored.
2) Similarly, move -fvisibility=hidden flag to be for non-mingw
compilation only to avoid warnings that it will be ignored.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions