From cce312cf3eee389b059ac8fe9be4f79c21fe37c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 23 Jan 2000 00:01:28 +0100 Subject: [PATCH] Now compiles pgtk.c with less optimization, since many optimizers had serious problems with it. Rev: src/post_modules/GTK/Makefile.in:1.12 --- src/post_modules/GTK/Makefile.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/post_modules/GTK/Makefile.in b/src/post_modules/GTK/Makefile.in index 592506664b..19da5cf408 100644 --- a/src/post_modules/GTK/Makefile.in +++ b/src/post_modules/GTK/Makefile.in @@ -64,3 +64,15 @@ wmml1: wmml0: echo Pike-GTK disabled. +# +# Many machines have problems compiling this file with full optimization. +# + +pgtk.o: pgtk.c + @echo "Compiling $< with less optimization" ;\ + if $(CC) $(NOOPT_CFLAGS) -O -c $< -o $@ ; then : ;\ + else \ + echo "WARNING: Compiler failure! Trying without optimization!" >&2;\ + echo "echo $(CC) $(NOOPT_CFLAGS) -c $< -o $@" >&2;\ + NO_ULIMIT=yes $(CC) $(NOOPT_CFLAGS) -c $< -o $@ ;\ + fi -- GitLab