summaryrefslogtreecommitdiff
path: root/cpp/newmakebindist.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-xcpp/newmakebindist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py
index 625a78328fc..6de6cd112de 100755
--- a/cpp/newmakebindist.py
+++ b/cpp/newmakebindist.py
@@ -484,7 +484,7 @@ def makeInstall(buildDir, installDir, distro, clean):
os.system("perl -pi -e 's/^PYTHON.HOME.*$/PYTHON\_HOME \?= "+ pyHome.replace("/", "\/") + \
"/' config/Make.rules")
- os.system("gmake RPM_BUILD_ROOT=" + installDir + " install")
+ os.system("gmake OPTIMIZE=yes RPM_BUILD_ROOT=" + installDir + " install")
os.chdir(cwd)
def shlibExtensions(versionString, versionInt):