Replace test for -O2

parent 03577a69
Pipeline #1227 failed with stage
in 79 minutes and 54 seconds
......@@ -46,7 +46,13 @@ AC_SUBST(LIBLTDL)
AC_SUBST(LTDL_LDLIBS)
#suppress the "-g -O2" default
test "$CFLAGS" || CFLAGS=-O2
case "$CFLAGS" in
*-O*)
;;
*)
CFLAGS="$CFLAGS -O2"
;;
esac
AC_SUBST(PROFEXES)
AC_SUBST(PROFOBJS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment