Imported Debian patch 1.2.1-1
[debian/splat] / build
diff --git a/build b/build
index 8559558df66b3d0eff3a25df680f7b54b2582354..ec982257e9c0cafd746432572b599b7b1dae9311 100755 (executable)
--- a/build
+++ b/build
@@ -1,15 +1,13 @@
 #!/bin/bash
 #
 # Simple shell script for building SPLAT! and associated utilities.
-# Written by John A. Magliacane, KD2BD May 2002 -- Last update: March 2006
+# Written by John A. Magliacane, KD2BD May 2002 -- Last update: October 2007
 #
 
-cpu=`uname -m`
-
 build_splat()
 {
        echo -n "Compiling SPLAT!... "
-       g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer -march=$cpu itm.cpp splat.cpp -o splat
+       g++ -Wall -O3 -fomit-frame-pointer -ffast-math itm.cpp splat.cpp -lm -lbz2 -o splat
        echo "Done!"
 }
 
@@ -41,4 +39,3 @@ else
                echo "Usage: build { splat, utils, all }"
        fi
 fi
-