We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e96b5 commit 29fdd29Copy full SHA for 29fdd29
1 file changed
cmake/DaemonFlags.cmake
@@ -476,7 +476,12 @@ else()
476
# Don't set _FORTIFY_SOURCE in debug builds.
477
endif()
478
479
- try_c_cxx_flag(FPIC "-fPIC")
+ if (USE_NACL_SAIGO AND "${NACL_TARGET}" STREQUAL "armhf")
480
+ # We hit a Saigo bug if we use -fPIC when building an arm nexe:
481
+ # > error: Cannot represent a difference across sections
482
+ else()
483
+ try_c_cxx_flag(FPIC "-fPIC")
484
+ endif()
485
486
if (USE_HARDENING)
487
# PNaCl accepts the flags but does not define __stack_chk_guard and __stack_chk_fail.
0 commit comments