From 316021cb141dd85ad66d31474f4016e8c94013b5 Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 12:00:30 -0700
Subject: no-opt

Add -O0 flag to CFLAGS and CXXFLAGS in environment, in order to build
the package without optimization.
Patch-Name: no-opt.patch
---
 setup.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/setup.py b/setup.py
index 5bcdc2a..8b70bf2 100644
--- a/setup.py
+++ b/setup.py
@@ -32,6 +32,9 @@ import subprocess
 
 from numpy.distutils.core import setup
 
+os.environ['CFLAGS'] = '-O0'
+os.environ['CXXFLAGS'] = '-O0'
+
 MAJOR = 4
 MINOR = 5
 MICRO = 1
