Skip to content

Commit

Permalink
Add pie LDFLAG
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jan 1, 2024
1 parent 7480429 commit 93c8dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dependency-builder/src/main/cpp/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ STRING(APPEND LDFLAGS " -L${THIRDPARTY_PREFIX}/lib")
# libpdf2htmlEX.so is a shared lib
STRING(APPEND CFLAGS " -fPIC ")
STRING(APPEND CXXLAGS " -fPIC ")
STRING(APPEND LDFLAGS " -pie ")

# march=armv7-a breaks build.
# Both Autotools and Meson fail, telling that compiler does not work
Expand Down

0 comments on commit 93c8dbd

Please sign in to comment.