Skip to content

Commit 87c0689

Browse files
committed
Merge pull request #67 from GarysMods2014/develop
Modified README for 64bit compile instructions
2 parents bb2bf57 + 9e707b4 commit 87c0689

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,22 @@ https://docs.google.com/spreadsheet/ccc?key=0AjvShWAWqvfHdDRneEtIUF9GRUZMNVVVR1h
1919

2020
```
2121
# build libgit2.a
22+
## For 32bit systems
2223
git submodule init && git submodule update
2324
mkdir libgit2/build
2425
cd libgit2/build
2526
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
2627
cmake --build .
2728
29+
# For 64bit systems
30+
git submodule init && git submodule update
31+
mkdir libgit2/build
32+
cd libgit2/build
33+
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF
34+
-DCMAKE_C_FLAGS=-fPIC ..
35+
cmake --build .
36+
37+
2838
# build php-git2
2939
cd ../../
3040
phpize
@@ -115,4 +125,4 @@ document will generate later. please check source code before publish docs.
115125

116126
## LICENSE
117127

118-
MIT License
128+
MIT License

0 commit comments

Comments
 (0)