equal
deleted
inserted
replaced
929 gcc295="" |
929 gcc295="" |
930 if [ "$cc_version" = 29 ]; then |
930 if [ "$cc_version" = 29 ]; then |
931 # Make sure we mark GCC 2.95 flag for Makefile.src.in, as we |
931 # Make sure we mark GCC 2.95 flag for Makefile.src.in, as we |
932 # need a lovely hack there to make it compile correctly. |
932 # need a lovely hack there to make it compile correctly. |
933 gcc295="1" |
933 gcc295="1" |
|
934 |
|
935 # Disable warnings about unused variables when |
|
936 # compiling with asserts disabled |
|
937 if [ $enable_assert -eq 0 ]; then |
|
938 CFLAGS="$CFLAGS -Wno-unused" |
|
939 fi |
934 fi |
940 fi |
935 |
941 |
936 if [ $cc_version -ge 30 ]; then |
942 if [ $cc_version -ge 30 ]; then |
937 CFLAGS="$CFLAGS -W -Wno-unused-parameter -Wformat=2" |
943 CFLAGS="$CFLAGS -W -Wno-unused-parameter -Wformat=2" |
938 CFLAGS="$CFLAGS -Wredundant-decls" |
944 CFLAGS="$CFLAGS -Wredundant-decls" |