Correct cmake command in readme
This commit is contained in:
parent
800b883a44
commit
93be5d86b2
@ -92,7 +92,7 @@ Now you can clone this repo and build the compiler:
|
|||||||
git clone https://github.com/Zeex/pawn.git ~/pawn
|
git clone https://github.com/Zeex/pawn.git ~/pawn
|
||||||
cd ~/pawn
|
cd ~/pawn
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake ../source/compiler -DCMAKE_BUILD_TYPE=Release
|
cmake ../source/compiler -DCMAKE_C_FLAGS=-m32 -DCMAKE_BUILD_TYPE=Release
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ brew install cmake
|
|||||||
git clone https://github.com/Zeex/pawn.git ~/pawn
|
git clone https://github.com/Zeex/pawn.git ~/pawn
|
||||||
cd ~/pawn
|
cd ~/pawn
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake ../source/compiler -DCMAKE_BUILD_TYPE=Release
|
cmake ../source/compiler -DCMAKE_C_FLAGS=-m32 -DCMAKE_BUILD_TYPE=Release
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user