tag 778180 - patch
kthxbye

> --- xemacs21-21.4.22.orig/configure.in
> +++ xemacs21-21.4.22/configure.in
> @@ -1941,6 +1941,8 @@ if test "$cflags_specified" = "no"; then
>      CFLAGS="-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes"
>      dnl Yuck, bad compares have been worth at least 3 crashes!
>      CFLAGS="$CFLAGS -Wsign-compare"
> +    dnl Use old gnu inline semantics because we're too lazy to fix the source
> +    CFLAGS="$CFLAGS -fgnu89-inline"
>      dnl XEmacs is known not to be strict-aliasing-safe.
>      case "`gcc -v --help 2>&1`" in
>        *-fstrict-aliasing* ) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;

The other thing here is that if we're overriding CFLAGS we should do it
in the packaging, not by editing configure - I've done this locally.

Attachment: signature.asc
Description: Digital signature

Reply via email to