mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Add -Wundef and fix missing definitions
This commit is contained in:
@@ -48,6 +48,9 @@ DB_TRYADDCFLAGS([-Wno-pointer-sign])
|
||||
AC_MSG_NOTICE([Checking if compiler '$CC' supports -fno-strict-overflow])
|
||||
DB_TRYADDCFLAGS([-fno-strict-overflow])
|
||||
|
||||
AC_MSG_NOTICE([Checking if compiler '$CC' supports -Wundef])
|
||||
DB_TRYADDCFLAGS([-Wundef])
|
||||
|
||||
# needed for various extensions. define early before autoconf tests
|
||||
AC_DEFINE([_GNU_SOURCE], [], [Use GNU extensions if glibc])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user