summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gcc/4.3.3/910-nuttx-nolibstdc.patch
blob: 1e25fd001900433eeded92e670055e10055b5924 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gcc-4.2.4/configure.orig	2009-04-18 18:07:18.250951700 -0400
+++ gcc-4.2.4/configure	2009-04-18 18:20:20.369521100 -0400
@@ -1649,6 +1649,10 @@
     ;;
 esac
 
+# If we are building against NuttX, then don't attempt to build libstdc++
+# (should be conditioned on --with-nuttx)
+noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3"
+
 # If we aren't building newlib, then don't build libgloss, since libgloss
 # depends upon some newlib header files.
 case "${noconfigdirs}" in