File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ set(LLVM_ENABLE_PROJECTS ${STAGE1_PROJECTS} CACHE STRING "")
82
82
# stage2-instrumented and Final Stage Config:
83
83
# Options that need to be set in both the instrumented stage (if we are doing
84
84
# a pgo build) and the final stage.
85
+ set_instrument_and_final_stage_var (CMAKE_POSITION_INDEPENDENT_CODE "ON" STRING )
85
86
set_instrument_and_final_stage_var (LLVM_ENABLE_LTO "${LLVM_RELEASE_ENABLE_LTO} " STRING )
86
87
if (LLVM_RELEASE_ENABLE_LTO )
87
88
set_instrument_and_final_stage_var (LLVM_ENABLE_LLD "ON" BOOL )
Original file line number Diff line number Diff line change @@ -353,8 +353,7 @@ function build_with_cmake_cache() {
353
353
env CC=" $c_compiler " CXX=" $cxx_compiler " \
354
354
cmake -G " $generator " -B $CMakeBuildDir -S $SrcDir /llvm \
355
355
-C $SrcDir /clang/cmake/caches/Release.cmake \
356
- -DCLANG_BOOTSTRAP_PASSTHROUGH=" CMAKE_POSITION_INDEPENDENT_CODE;LLVM_LIT_ARGS" \
357
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
356
+ -DCLANG_BOOTSTRAP_PASSTHROUGH=" LLVM_LIT_ARGS" \
358
357
-DLLVM_LIT_ARGS=" -j $NumJobs $LitVerbose " \
359
358
$ExtraConfigureFlags
360
359
2>&1 | tee $LogDir /llvm.configure-$Flavor .log
You can’t perform that action at this time.
0 commit comments