[Lunar-commits] <moonbase> warsow: fix the compile with gcc 4.6.0.

Florin Braescu florin at lunar-linux.org
Sun Mar 27 16:54:05 CEST 2011


commit 55e3d2be19ae7c143be06f76db84e79b92c405a6
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Mar 27 17:54:05 2011 +0300

    warsow: fix the compile with gcc 4.6.0.
---
 games/warsow/BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/games/warsow/BUILD b/games/warsow/BUILD
index 5c1a63f..cf276bf 100644
--- a/games/warsow/BUILD
+++ b/games/warsow/BUILD
@@ -8,6 +8,9 @@
 
   cd source  &&
 
+  # Fix the compile with gcc 4.6.x
+  sedit "s:--as-needed::" Makefile  &&
+
   # Be compatible with libopenal.so.1
   # http://www.warsow.net/forum/viewtopic.php?id=20939
   sedit "s:openal-config:pkg-config openal:" Makefile  &&


More information about the Lunar-commits mailing list