summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 17:37:24 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-12 19:35:43 +0200
commit39c94f89dadc8ad2349530724b08e32fe4253a8a (patch)
treecfd1199f9ce9c71b32f8e72866d6a3495b51cc0d /configure.ac
parenttools: add vim snippet (diff)
downloadfrr-39c94f89dadc8ad2349530724b08e32fe4253a8a.tar.xz
frr-39c94f89dadc8ad2349530724b08e32fe4253a8a.zip
build: use -O2, not -Os
apparently -Os is quite a bit slower... Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to '')
-rwxr-xr-xconfigure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 77d5ee155..2fa5d7874 100755
--- a/configure.ac
+++ b/configure.ac
@@ -237,9 +237,7 @@ else
fi
if test "z$orig_cflags" = "z"; then
AC_C_FLAG([-g])
- AC_C_FLAG([-Os], [
- AC_C_FLAG([-O2])
- ])
+ AC_C_FLAG([-O2])
fi
fi
AM_CONDITIONAL([DEV_BUILD], [test "x$enable_dev_build" = "xyes"])