Working through the issues.
This commit is contained in:
parent
072509a2d2
commit
b362b0d3af
3 changed files with 8 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue