The recent gcc had dropped support of -fforce-mem and it was turned on by default with -O2 flag.
Removing this flag from Makefile.
Risk: This change was tested under gcc4.* x86 platform. gcc 2.7.* or 2.8.* or other platforms were not tested at all.
From: ericli@google.com
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4069 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/unixbench/unixbench.py b/client/tests/unixbench/unixbench.py
index 35e85ea..f7ae7c6 100755
--- a/client/tests/unixbench/unixbench.py
+++ b/client/tests/unixbench/unixbench.py
@@ -18,6 +18,7 @@
os.chdir(self.srcdir)
utils.system('patch -p1 < ../unixbench.patch')
+ utils.system('patch -p1 < ../Makefile.patch')
utils.system('make')