Changeset 1115 in MondoRescue for branches/stable/mondo/configure.in


Ignore:
Timestamp:
Feb 9, 2007, 12:58:33 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix a compiler error on libmondo-fork.c
Add option -fno-strict-aliasing to gcc to avoid a useless warning with gcc < 4.2

File:
1 edited

Legend:

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

    r1064 r1115  
    7474        AC_CHECK_LIB(pthread, pthread_create, true, [echo "*** Cannot find -lpthread."; echo "*** Please make sure you have the linuxthreads glibc add-on installed."; exit 1])
    7575        PTHREAD="-lpthread"
    76         CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -Wshadow -funsigned-char -Wstrict-prototypes -Wunused -Winit-self -Wcast-align"
     76        CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -Wshadow -funsigned-char -Wstrict-prototypes -Wunused -Winit-self -Wcast-align -fno-strict-aliasing"
    7777        ;;
    7878    *)
Note: See TracChangeset for help on using the changeset viewer.