Branch: refs/heads/main
Revision: 30e4953
Author: mppf
Link: Unavailable
Log Message:
Merge pull request #18976 from mppf/follow-18880-fpic
Fix problem with CHPL_LIB_PIC after PR #18880
This PR fixes a problem with CHPL_LIB_PIC after PR #18880
- updates clangUtil.cpp to pass
-fPIC
ifCHPL_LIB_PIC
is set - include
-fPIC
in MAKE_COMP_GEN_CFLAGS / COMP_GEN_CFLAGS for C backend - use CHPL_MAKE_LIB_PIC in Makefiles since this is the variable computed by printchplenv
- [x] test/interop/python//boolFunctions.chpl passes with C backend
- [x] test/interop/python//boolFunctions.chpl passes with LLVM backend
- [x] full local testing
Reviewed by @ben-albrecht - thanks!
Modified Files:
M compiler/llvm/clangUtil.cpp
M runtime/etc/Makefile.include
M runtime/make/Makefile.runtime.include
Compare: https://github.com/chapel-lang/chapel/compare/dda1f51fda06...30e49534e6ab