Skip to content

Commit

Permalink
enable pie
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed Apr 2, 2021
1 parent 755b429 commit f3e94b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
cmake . -B build/ \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_C_COMPILER="x86_64-gentoo-linux-musl-gcc" \
-DCMAKE_C_FLAGS="-static -s" \
-DCMAKE_C_FLAGS="-static-pie -s" \
-DCMAKE_CXX_COMPILER="x86_64-gentoo-linux-musl-g++" \
-DCMAKE_CXX_FLAGS="-static -s"
-DCMAKE_CXX_FLAGS="-static-pie -s"
cmake --build build/ -j$(nproc)

source build/config/config.sh
Expand Down

0 comments on commit f3e94b4

Please sign in to comment.