]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: use -O2, not -Os 4509/head
authorDavid Lamparter <equinox@diac24.net>
Wed, 12 Jun 2019 15:37:24 +0000 (17:37 +0200)
committerDavid Lamparter <equinox@diac24.net>
Wed, 12 Jun 2019 17:35:43 +0000 (19:35 +0200)
apparently -Os is quite a bit slower...

Signed-off-by: David Lamparter <equinox@diac24.net>
configure.ac

index 77d5ee1555580e64517f4466a18fa4aac03315e9..2fa5d7874435d7beb4117e33e071c08120d363db 100755 (executable)
@@ -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"])