From d616b6a726a7765a42dd1597d289d3fb5b3f9ef5 Mon Sep 17 00:00:00 2001
From: Edward Brash <brash@jlab.org>
Date: Fri, 4 Nov 2016 00:05:05 -0400
Subject: [PATCH] Updates to linux64.py and linux32.py to fix RHEL7 compiler
 option double-qoute mangling

---
 linux32.py | 4 +++-
 linux64.py | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/linux32.py b/linux32.py
index 8d664b8..283b560 100644
--- a/linux32.py
+++ b/linux32.py
@@ -23,7 +23,9 @@ def config(env,args):
 	if int(checkheaders):
 		env.Append(CHECKHEADERS= '1')
 
-	env.Append(CXXFLAGS = '-m32 -Wall -Woverloaded-virtual')
+	env.Append(CXXFLAGS = '-m32')
+	env.Append(CXXFLAGS = '-Wall')
+	env.Append(CXXFLAGS = '-Woverloaded-virtual')
 	env.Append(CPPDEFINES = '-DLINUXVERS')
 
 	cxxversion = env.subst('$CXXVERSION')
diff --git a/linux64.py b/linux64.py
index 2a2e123..79703f6 100644
--- a/linux64.py
+++ b/linux64.py
@@ -23,7 +23,8 @@ def config(env,args):
 	if int(checkheaders):
 		env.Append(CHECKHEADERS= '1')
 	
-	env.Append(CXXFLAGS = '-Wall -Woverloaded-virtual')
+	env.Append(CXXFLAGS = '-Wall')
+	env.Append(CXXFLAGS = '-Woverloaded-virtual')
 	env.Append(CPPDEFINES = '-DLINUXVERS')
 
 	cxxversion = env.subst('$CXXVERSION')
-- 
GitLab