Changeset 3879 in MondoRescue for branches/3.3/mondo/configure.ac
- Timestamp:
- Mar 9, 2024, 3:10:04 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/configure.ac
r3848 r3879 13 13 AC_CONFIG_SRCDIR([src/mondoarchive/mondoarchive.c]) 14 14 AC_CONFIG_MACRO_DIR([m4]) 15 AC_CONFIG_HEADERS([config.h])16 15 17 AC_PREREQ([2. 63])16 AC_PREREQ([2.71]) 18 17 AC_CANONICAL_HOST 19 18 AC_CANONICAL_TARGET … … 74 73 GCC_MAJ="`gcc -dumpversion 2>&1 | cut -d. -f1`" 75 74 GCC_MIN="`gcc -dumpversion 2>&1 | cut -d. -f2`" 76 CFLAGS="$CFLAGS -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wno-return-type -Wformat=2 -Werror=implicit-function-declaration -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -D_FORTIFY_SOURCE=2 -fstack-clash-protection -fstack-protector-strong -fcf-protection -fsanitize=undefined -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" # -Wstrict-prototypes -Werror" 75 76 # Just test for dev machine on x86_64 ubsan used for option -fsanitize=undefined 77 if [ -f /usr/lib64/libubsan.so ]; then 78 CFLAGS="$CFLAGS -fsanitize=undefined" 79 HAVE_UBSAN=1 80 else 81 HAVE_UBSAN=0 82 fi 83 84 # Just test for dev machine on x86_64 asan used for option -fsanitize=address 85 if [ -f /usr/lib64/libasan.so ]; then 86 CFLAGS="$CFLAGS -fsanitize=address" 87 HAVE_ASAN=1 88 else 89 HAVE_ASAN=0 90 fi 91 92 CFLAGS="$CFLAGS -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wno-return-type -Wformat=2 -Werror=implicit-function-declaration -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -D_FORTIFY_SOURCE=2 -fstack-clash-protection -fstack-protector-strong -fcf-protection -Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wno-discarded-qualifiers" # -Wconversion -Wstrict-prototypes -Werror" 77 93 ;; 78 94 *) … … 103 119 104 120 # Checks for header files. 105 AC_HEADER_STDC 121 AC_CHECK_INCLUDES_DEFAULT 122 AC_PROG_EGREP 123 106 124 AC_HEADER_SYS_WAIT 107 125 AC_HEADER_STDBOOL
Note:
See TracChangeset
for help on using the changeset viewer.