Commit e6131821 authored by Robin Randhawa's avatar Robin Randhawa

aarch64: Redox: Fix libstdc++-v3 build failures

Without these fixes, configuring the GCC build to enable C++ support
would result in a build failure.
parent f360ac09
......@@ -53398,6 +53398,13 @@ done
;;
aarch64-*-redox*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
$as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
;;
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
......@@ -141,6 +141,12 @@ case "${host}" in
AC_SUBST(SECTION_FLAGS)
;;
aarch64-*-redox*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS)
AC_DEFINE(HAVE_ALIGNED_ALLOC)
;;
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment