2016-01-07 23:09:19 +00:00

16 lines
518 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2016/01/07 23:09:19 sthen Exp $
Don't hardcode -O3
--- configure.orig Wed Sep 16 09:22:49 2015
+++ configure Thu Jan 7 23:04:07 2016
@@ -2142,7 +2142,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers bgpdump-config.h"
-CFLAGS="-g -O3 $CFLAGS -Wall"
+CFLAGS="-g $CFLAGS -Wall"
CFLAGS="$CFLAGS -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow"