Changeset 2340 in MondoRescue for branches/2.2.10/mondo/configure.in


Ignore:
Timestamp:
Aug 21, 2009, 1:53:49 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • New compiler flogs introduce for memory check
  • Other dyn. allocation added replacing static ones
  • Option -Y is added for LZMA support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/configure.in

    r2246 r2340  
    8080        CFLAGS="$CFLAGS -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT"
    8181        if test "$GCC_MAJ" -ge "4" && test "$GCC_MIN" -ge "2"; then
    82             CFLAGS="$CFLAGS -Werror=format-security"
     82            CFLAGS="$CFLAGS -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector"
    8383        fi
    8484        ;;
     
    127127AC_TYPE_SIGNAL
    128128AC_FUNC_VPRINTF
    129 AC_CHECK_FUNCS([bzero getcwd memmove memset mkdir mkfifo setenv strcasecmp strchr strerror strrchr strstr mkdtemp])
     129AC_CHECK_FUNCS([bzero getcwd memmove memset mkdir mkfifo getopt setenv strcasecmp strchr strerror strrchr strstr mkdtemp])
    130130
    131131AC_OUTPUT([Makefile src/Makefile src/lib/Makefile src/common/Makefile src/mondoarchive/Makefile src/mondorestore/Makefile src/restore-scripts/Makefile src/restore-scripts/mondo/Makefile src/post-nuke.sample/Makefile src/post-nuke.sample/usr/Makefile src/post-nuke.sample/usr/bin/Makefile test/Makefile])
Note: See TracChangeset for help on using the changeset viewer.