diff --git a/lang/gcc5/files/patch-libc++ b/lang/gcc5/files/patch-libc++
new file mode 100644
index 000000000000..9550b11f7c29
--- /dev/null
+++ b/lang/gcc5/files/patch-libc++
@@ -0,0 +1,43 @@
+--- gcc/auto-profile.c.orig 2015-01-18 02:25:42 UTC
++++ gcc/auto-profile.c
+@@ -19,11 +19,9 @@ along with GCC; see the file COPYING3.
+ . */
+
+ #include "config.h"
+-#include "system.h"
+-
+-#include
+ #include