From 8511dac87fbb644653217947c636af8c11b8d1b2 Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Wed, 23 May 2018 16:10:56 +0200
Subject: [PATCH] Remove valarray from PCH:

valarray triggers lots of symbols to be emitted during startup.
---
 build/unix/makepchinput.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build/unix/makepchinput.py b/build/unix/makepchinput.py
index 76ff6e9628f..35e785fcc65 100755
--- a/build/unix/makepchinput.py
+++ b/build/unix/makepchinput.py
@@ -67,6 +67,7 @@ def getSTLIncludes():
    Here we include the list of c++11 stl headers
    From http://en.cppreference.com/w/cpp/header
    regex is removed until ROOT-7004 is fixed
+   valarray is removed because it causes lots of compilation at startup.
    """
    stlHeadersList = ("cstdlib",
                      "csignal",
@@ -117,7 +118,7 @@ def getSTLIncludes():
                      "iterator",
                      "cmath",
                      "complex",
-                     "valarray",
+#                     "valarray",
                      "random",
                      "numeric",
                      "ratio",
-- 
GitLab