Blob Blame History Raw
Without this kludge, the uqm build system with gcc >= 3.4 (-MM) creates a
broken dependency file.  gcc 3.3.4 seems to be fine.

--- build/unix/build_functions~	2003-09-06 18:14:19.000000000 +0300
+++ build/unix/build_functions	2004-12-11 16:43:36.258038290 +0200
@@ -88,7 +88,7 @@
 		done
 		echo
 		build_do_recursive build_dependancies :
-	} > "$DEPEND_FILE"
+	} | perl -pe 's/# 1 .*\n//' > "$DEPEND_FILE"
 }
 
 # Output the .o file for a .c file.