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

Florin Braescu florin at lunar-linux.org
Tue Mar 27 21:29:23 CEST 2012


commit c4ca921b6106fb3e6b86060075232dbbe546560f
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Tue Mar 27 21:29:23 2012 +0200

    warsow: fix the compile with gcc 4.7.x.
---
 games/warsow/BUILD |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/games/warsow/BUILD b/games/warsow/BUILD
index cf276bf..5be75e3 100644
--- a/games/warsow/BUILD
+++ b/games/warsow/BUILD
@@ -11,6 +11,9 @@
   # Fix the compile with gcc 4.6.x
   sedit "s:--as-needed::" Makefile  &&
 
+  # Fix the compile with gcc 4.7.x
+  sedit "s:-Wl::" 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