Makefile: Include C++ headers in the cross-tools bundle.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 15 Jun 2020 17:01:06 +0000 (18:01 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 15 Jun 2020 17:01:06 +0000 (18:01 +0100)
Makefile

index 79495a4..4b4a616 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -155,7 +155,8 @@ CROSS_PATHS         += \
                $(addprefix /usr/bin/$a-, \
                        cpp gcc g++ gcov gcov-dump gcov-tool gprof \
                        gcc-ar gcc-nm gcc-ranlib) \
-               /usr/lib/gcc-cross/$a/)
+               /usr/lib/gcc-cross/$a/ \
+               /usr/$a/include/c++)
 
 ## Local packages to be compiled and installed in chroots.  Archives can be
 ## found in `pkg/'.