File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
src/main/resources/native Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020 # Linux - x86_64
2121 - os : ubuntu-latest
2222 arch : x86_64
23- cmake_args : ' -DCMAKE_BUILD_TYPE=Release -DARCH=native -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS="-fPIC"'
23+ cmake_args : ' -DCMAKE_BUILD_TYPE=Release -DARCH=native -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_SHARED_LINKER_FLAGS="-z noexecstack" '
2424 artifact_name : ' librandomx_linux_x86_64.so'
2525 output_lib : ' librandomx_linux_x86_64.so'
2626 # macOS - x86_64
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Compile and copy the appropriate shared library for your platform:
6161``` bash
6262cd randomx
6363mkdir build && cd build
64- cmake .. -DCMAKE_BUILD_TYPE=Release -DARCH=native -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS=" -fPIC"
64+ cmake .. -DCMAKE_BUILD_TYPE=Release -DARCH=native -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS=" -fPIC" -DCMAKE_SHARED_LINKER_FLAGS= " -z noexecstack "
6565make -j4
6666cp -i librandomx.so ../../src/main/resources/native/librandomx_linux_x86_64.so
6767```
Original file line number Diff line number Diff line change 66
77 <groupId >io.xdag</groupId >
88 <artifactId >xdagj-native-randomx</artifactId >
9- <version >0.2.4 </version >
9+ <version >0.2.5 </version >
1010
1111 <name >xdagj-native-randomx</name >
1212 <description >A Java RandomX Library For XDAGJ</description >
You can’t perform that action at this time.
0 commit comments