[Lunar-commits] <moonbase> allegro: compile with binutils 2.19.1

Paul Bredbury brebs at lunar-linux.org
Fri Sep 25 08:03:08 CEST 2009


commit 046780cc51281d134d68fedf79acd7f008c35f0c
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Sep 25 13:03:08 2009 +0700

    allegro: compile with binutils 2.19.1
---
 libs/allegro/BUILD |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/libs/allegro/BUILD b/libs/allegro/BUILD
index b3baefd..eeccd0d 100644
--- a/libs/allegro/BUILD
+++ b/libs/allegro/BUILD
@@ -1,4 +1,12 @@
 (
-  sedit  "s/-O2/$CFLAGS/"  configure
+
+  sedit "s/-O2/$CFLAGS/" configure  &&
+
+  # Fixes compilation error:
+  # ./src/i386/icpus.s:70: Error: suffix or operands invalid for `fnstsw'
+  # Info at http://www.allegro.cc/forums/thread/597882
+  OPTS+=" --disable-asm"  &&
+
   default_build
+
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list