diff --git a/scipy/odr/setup.py b/scipy/odr/setup.py
index 86df6cb83..79d48c0d9 100644
--- a/scipy/odr/setup.py
+++ b/scipy/odr/setup.py
@@ -21,7 +21,7 @@ def configuration(parent_package='', top_path=None):
         libodr_files.append('d_lpkbls.f')
 
     odrpack_src = [join('odrpack', x) for x in libodr_files]
-    config.add_library('odrpack', sources=odrpack_src)
+    config.add_library('odrpack', sources=odrpack_src, extra_f77_compile_args=['-O1'])
 
     sources = ['__odrpack.c']
     libraries = ['odrpack'] + blas_info.pop('libraries', [])
