Skip to content

Commit edbe90c

Browse files
committed
fixup! Make ENABLE_MULTILIB_HEADER_OPTIMISATION is OFF by default.
At present ENABLE_MULTILIB_HEADER_OPTIMISATION has to be disabled as this feature is not fully supported from the toolchain yet.
1 parent ffdca78 commit edbe90c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

arm-software/embedded/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ option(
182182

183183
option(
184184
ENABLE_MULTILIB_HEADER_OPTIMISATION "Enable multilib header optimisation phase"
185-
ON
185+
OFF
186186
)
187+
if(ENABLE_MULTILIB_HEADER_OPTIMISATION)
188+
message(WARNING "ENABLE_MULTILIB_HEADER_OPTIMISATION is not recommended to be enabled. This feature is not fully supported from the toolchain.")
189+
endif()
187190

188191
# Previously, the LLVM_TOOLCHAIN_LIBRARY_OVERLAY_INSTALL option was
189192
# called LLVM_TOOLCHAIN_NEWLIB_OVERLAY_INSTALL. Detect a setting of

arm-software/embedded/arm-multilib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ set(
4848
fvp/get_fvps.sh"
4949
)
5050
set(FVP_CONFIG_DIR "${TOOLCHAIN_SOURCE_DIR}/fvp/config" CACHE STRING "The directory in which the FVP models are installed.")
51-
option(ENABLE_MULTILIB_HEADER_OPTIMISATION "Enable multilib header optimisation phase" ON)
51+
option(ENABLE_MULTILIB_HEADER_OPTIMISATION "Enable multilib header optimisation phase" OFF)
5252
option(
5353
ENABLE_PARALLEL_LIB_CONFIG
5454
"Run the library variant configuration steps in parallel."

0 commit comments

Comments
 (0)