|
@@ -85,15 +85,6 @@ get_target_triple(LIBCXX_TARGET_TRIPLE
|
|
set(LIBCXX_TARGET_TRIPLE ${LIBCXX_TARGET_TRIPLE} CACHE STRING "Target triple.")
|
|
set(LIBCXX_TARGET_TRIPLE ${LIBCXX_TARGET_TRIPLE} CACHE STRING "Target triple.")
|
|
|
|
|
|
|
|
|
|
-# Configure compiler.
|
|
|
|
-include(config-ix)
|
|
|
|
-# Configure ABI library
|
|
|
|
-include(HandleLibCXXABI)
|
|
|
|
-
|
|
|
|
-#===============================================================================
|
|
|
|
-# Setup Compiler Flags
|
|
|
|
-#===============================================================================
|
|
|
|
-
|
|
|
|
# Declare libc++ configuration variables.
|
|
# Declare libc++ configuration variables.
|
|
# They are intended for use as follows:
|
|
# They are intended for use as follows:
|
|
# LIBCXX_CXX_FLAGS: General flags for both the compiler and linker.
|
|
# LIBCXX_CXX_FLAGS: General flags for both the compiler and linker.
|
|
@@ -103,6 +94,15 @@ set(LIBCXX_CXX_FLAGS "")
|
|
set(LIBCXX_COMPILE_FLAGS "")
|
|
set(LIBCXX_COMPILE_FLAGS "")
|
|
set(LIBCXX_LINK_FLAGS "")
|
|
set(LIBCXX_LINK_FLAGS "")
|
|
|
|
|
|
|
|
+# Configure compiler.
|
|
|
|
+include(config-ix)
|
|
|
|
+# Configure ABI library
|
|
|
|
+include(HandleLibCXXABI)
|
|
|
|
+
|
|
|
|
+#===============================================================================
|
|
|
|
+# Setup Compiler Flags
|
|
|
|
+#===============================================================================
|
|
|
|
+
|
|
# Get required flags.
|
|
# Get required flags.
|
|
# On all systems the system c++ standard library headers need to be excluded.
|
|
# On all systems the system c++ standard library headers need to be excluded.
|
|
if (MSVC)
|
|
if (MSVC)
|