mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
configure.ac : Add -funsigned-char to CXXFLAGS.
Reported by Michael Tautschnig <mt@debian.org> via the Debian bug tracker : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750098
This commit is contained in:
parent
30b156a2a7
commit
2b598d2e23
12
configure.ac
12
configure.ac
@ -503,15 +503,17 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
|
||||
CXXFLAGS="$CXXFLAGS -Wall"
|
||||
|
||||
MN_ADD_CFLAGS([-Wextra])
|
||||
|
||||
AC_LANG_PUSH([C++])
|
||||
MN_ADD_CXXFLAGS([-Wextra])
|
||||
AC_LANG_POP([C++])
|
||||
|
||||
MN_ADD_CFLAGS([-Wdeclaration-after-statement])
|
||||
MN_ADD_CFLAGS([-Wpointer-arith])
|
||||
MN_ADD_CFLAGS([-funsigned-char])
|
||||
|
||||
AC_LANG_PUSH([C++])
|
||||
MN_ADD_CXXFLAGS([-Wextra])
|
||||
MN_ADD_CXXFLAGS([-Wpointer-arith])
|
||||
MN_ADD_CXXFLAGS([-funsigned-char])
|
||||
AC_LANG_POP([C++])
|
||||
|
||||
|
||||
MN_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
|
||||
|
||||
if test x$enable_stack_smash_protection = "xyes" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user