Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
za233 committed Dec 1, 2024
1 parent 4365e6f commit 8538ef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Polaris's back-end obfuscation is designed to make decompilers ineffective, prev

**Use build.sh to build the obfuscator or you can follow the instructions below to build according to your needs.**

**Note: please make sure -DLLVM_ENABLE_ASSERTIONS=Off.**

Then Configure and build LLVM and Clang:

* ``cd llvm-project``
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd src
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
cmake --build .

0 comments on commit 8538ef8

Please sign in to comment.