Update SYSROOT_DIR assignment in build-libraries.sh and remove --disable-tls from build-toolchain.sh configuration
- Changed SYSROOT_DIR to directly reference SYSROOT for clarity. - Removed --disable-tls option from GCC build configuration to streamline the build process.
This commit is contained in:
@@ -19,7 +19,7 @@ export CXXFLAGS=""
|
|||||||
# Подготавливаем пути к разделам
|
# Подготавливаем пути к разделам
|
||||||
|
|
||||||
LIB_DIR="${TOP}/src/libs"
|
LIB_DIR="${TOP}/src/libs"
|
||||||
SYSROOT_DIR="${INSTALL_DIR}${SYSROOT}"
|
SYSROOT_DIR="${SYSROOT}"
|
||||||
SYSROOT_ETC_DIR="${SYSROOT_DIR}/etc"
|
SYSROOT_ETC_DIR="${SYSROOT_DIR}/etc"
|
||||||
SYSROOT_USR_DIR="${SYSROOT_DIR}/usr"
|
SYSROOT_USR_DIR="${SYSROOT_DIR}/usr"
|
||||||
BUILD_SRC_DIR="${TOP}/build"
|
BUILD_SRC_DIR="${TOP}/build"
|
||||||
|
|||||||
@@ -125,8 +125,7 @@ mkdir -p "${BUILD_DIR}/gcc1" && cd "${BUILD_DIR}/gcc1"
|
|||||||
--without-cloog \
|
--without-cloog \
|
||||||
--without-ppl \
|
--without-ppl \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-libatomic \
|
--disable-libatomic
|
||||||
--disable-tls
|
|
||||||
|
|
||||||
make -j$(nproc) all-gcc
|
make -j$(nproc) all-gcc
|
||||||
make install-gcc
|
make install-gcc
|
||||||
@@ -197,8 +196,7 @@ mkdir -p "${BUILD_DIR}/gcc2" && cd "${BUILD_DIR}/gcc2"
|
|||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--disable-libgomp \
|
--disable-libgomp \
|
||||||
--disable-libatomic \
|
--disable-libatomic
|
||||||
--disable-tls
|
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|||||||
Reference in New Issue
Block a user