summaryrefslogtreecommitdiff
path: root/cross/ppc-morphos-gcc-11/patches/patch-libstdc++-v3_crossconfig.m4
blob: 86d9520e8cb7bdefc102610eb68f2126d7629be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-libstdc++-v3_crossconfig.m4,v 1.1 2022/10/17 13:25:31 js Exp $

Don't use anything that needs a link test, as link tests are forbidden after
GCC_NO_EXECUTABLES and will error out.

--- libstdc++-v3/crossconfig.m4.orig	2021-07-25 14:28:05.622501010 +0000
+++ libstdc++-v3/crossconfig.m4
@@ -201,9 +201,6 @@ case "${host}" in
     ;;
   *-morphos*)
     GLIBCXX_CHECK_COMPILER_FEATURES
-    GLIBCXX_CHECK_LINKER_FEATURES
-    GLIBCXX_CHECK_MATH_SUPPORT
-    GLIBCXX_CHECK_STDLIB_SUPPORT
     ;;
   *-netbsd* | *-openbsd*)
     SECTION_FLAGS='-ffunction-sections -fdata-sections'