Revision 1172f653 configure
b/configure | ||
---|---|---|
513 | 513 |
fi |
514 | 514 |
CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls" |
515 | 515 |
LDFLAGS="$LDFLAGS -g" |
516 |
|
|
517 |
# Consult white-list to determine whether to enable werror |
|
518 |
# by default. Only enable by default for git builds |
|
519 |
if test -z "$werror" ; then |
|
520 |
z_version=`cut -f3 -d. $source_path/VERSION` |
|
521 |
if test "$z_version" = "50" -a \ |
|
522 |
"$linux" = "yes" ; then |
|
523 |
werror="yes" |
|
524 |
else |
|
525 |
werror="no" |
|
526 |
fi |
|
527 |
fi |
|
528 |
|
|
516 | 529 |
if test "$werror" = "yes" ; then |
517 |
CFLAGS="$CFLAGS -Werror" |
|
530 |
CFLAGS="$CFLAGS -Werror"
|
|
518 | 531 |
fi |
519 | 532 |
|
520 | 533 |
if test "$solaris" = "no" ; then |
... | ... | |
653 | 666 |
sparse="no" |
654 | 667 |
fi |
655 | 668 |
|
656 |
# Consult white-list to determine whether to enable werror |
|
657 |
# by default. Only enable by default for git builds |
|
658 |
if test -z "$werror" ; then |
|
659 |
z_version=`cut -f3 -d. $source_path/VERSION` |
|
660 |
if test "$z_version" = "50" -a \ |
|
661 |
"$linux" = "yes" ; then |
|
662 |
werror="yes" |
|
663 |
else |
|
664 |
werror="no" |
|
665 |
fi |
|
666 |
fi |
|
667 |
|
|
668 | 669 |
# |
669 | 670 |
# Solaris specific configure tool chain decisions |
670 | 671 |
# |
Also available in: Unified diff