Skip to content

Commit e894231

Browse files
committed
Remove warnings about -g compiler flag
After strip there is no difference if -g is specified or not (as long as the optimization level is set properly), so this warning was spurious.
1 parent db318bf commit e894231

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

configure.ac

-4
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
5252
[AC_MSG_WARN([optimization level other than -Os specified in CFLAGS, this will increase your binary size.])], [])
5353
AS_CASE([$CFLAGS], [*-Os*],
5454
[], [AC_MSG_WARN([optimization level -Os not specified in CFLAGS, this will increase your binary size.])])
55-
AS_CASE([$CFLAGS], [*\ -g*],
56-
[AC_MSG_WARN([debugging option -g specified in CFLAGS, this will increase your binary size.])], [])
57-
AS_CASE([$CFLAGS], [-g*],
58-
[AC_MSG_WARN([debugging option -g specified in CFLAGS, this will increase your binary size.])], [])
5955

6056
# Check if the user links against glibc.
6157
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <features.h>

0 commit comments

Comments
 (0)