Working through the issues.

This commit is contained in:
fewtarius 2022-07-02 09:26:43 -04:00
parent 072509a2d2
commit b362b0d3af
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 8 additions and 2 deletions

View file

@ -17,6 +17,7 @@ PKG_CONFIGURE_OPTS_HOST="--target=aarch64-none-elf \
--with-mpfr=${TOOLCHAIN} \
--with-mpc=${TOOLCHAIN} \
--with-zstd=${TOOLCHAIN} \
--with-float=${TARGET_FLOAT} \
--with-gnu-as \
--with-gnu-ld \
--with-newlib \

View file

@ -49,6 +49,11 @@ GCC_COMMON_CONFIGURE_OPTS="--target=${TARGET_NAME} \
--disable-libssp \
--enable-__cxa_atexit"
if [ "${TARGET_ARCH}" = arm ] || [ "${TARGET_ARCH}" = aarch64 ]
then
GCC_COMMON_CONFIGURE_OPTS+=" --with-float=${TARGET_FLOAT}"
fi
PKG_CONFIGURE_OPTS_BOOTSTRAP="${GCC_COMMON_CONFIGURE_OPTS} \
--enable-cloog-backend=isl \
--disable-decimal-float \

View file

@ -14,8 +14,8 @@ PKG_LONGDESC="Low-Level Virtual Machine (LLVM) is a compiler infrastructure."
PKG_TOOLCHAIN="cmake"
PKG_CMAKE_OPTS_COMMON="-DLLVM_INCLUDE_TOOLS=ON \
-DLLVM_BUILD_TOOLS=ON \
-DLLVM_BUILD_UTILS=ON \
-DLLVM_BUILD_TOOLS=OFF \
-DLLVM_BUILD_UTILS=OFF \
-DLLVM_BUILD_EXAMPLES=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_BUILD_TESTS=OFF \