<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">[PATCH] Small Makefile cleanups

 * Clean up some unnecessary GCC version checking
 * Don't ship with -Werror enabled

diff -urN b/Makefile head/Makefile
--- b/Makefile	2006-01-10 14:50:02.000000000 +1030
+++ head/Makefile	2005-12-31 22:09:21.000000000 +1030
@@ -226,23 +226,12 @@
 # Define some build variables
 # ---------------------------------------
 
-# Try to use a more recent GCC if available (my Debian system has several)
-ifneq ($(shell which gcc-3.5),)
-CC = gcc-3.5
-else
-ifneq ($(shell which gcc-3.4),)
-CC = gcc-3.4
-else
-CC = gcc
-endif
-endif
-
 CFLAGS := -Wall -Wno-trigraphs
 
-# Library headers on the Windows side give warnings
-ifeq ($(TARGET_OS),LINUX)
-CFLAGS += -Werror
-endif
+# Enable this if you're getting pedantic again...
+#ifeq ($(TARGET_OS),LINUX)
+#CFLAGS += -Werror
+#endif
 
 ifdef DEBUG
 CFLAGS += -g
</pre></body></html>