mirror of https://github.com/djcb/mu.git
build: fix compiler flags
This commit is contained in:
parent
930adea3b2
commit
451fa65ffb
|
@ -44,11 +44,13 @@ AC_HEADER_STDC
|
|||
|
||||
extra_flags="-Wformat-security \
|
||||
-Wstack-protector \
|
||||
-Wstack-protector-all"
|
||||
-Wstack-protector-all \
|
||||
-Wno-cast-function-type \
|
||||
-Wno-bad-function-cast"
|
||||
|
||||
AX_CXX_COMPILE_STDCXX_14
|
||||
AX_COMPILER_FLAGS_CXXFLAGS([],[],[${extra_cflags}])
|
||||
AX_APPEND_COMPILE_FLAGS([-Wno-inline -Wno-cast-function-type],[CXXFLAGS])
|
||||
AX_APPEND_COMPILE_FLAGS([-Wno-inline ],[CXXFLAGS])
|
||||
AX_VALGRIND_CHECK
|
||||
|
||||
LT_INIT
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
**
|
||||
*/
|
||||
#include <array>
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Reference in New Issue