summary refs log tree commit diff
path: root/pkgs/development/tools/misc/octavefront/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/octavefront/builder.sh')
-rwxr-xr-xpkgs/development/tools/misc/octavefront/builder.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/octavefront/builder.sh b/pkgs/development/tools/misc/octavefront/builder.sh
index ccdd540cf45..c24c9d1b123 100755
--- a/pkgs/development/tools/misc/octavefront/builder.sh
+++ b/pkgs/development/tools/misc/octavefront/builder.sh
@@ -1,15 +1,20 @@
 #! /bin/sh -e
 
+set -x
+
 buildinputs="$autoconf $g77 $texinfo $bison $flex $gperf $rna $aterm"
 . $stdenv/setup
 
-g77orig=$(cat $g77/orig-gcc)
+g77orig=$(cat $g77/nix-support/orig-gcc)
 export NIX_LDFLAGS="-rpath $g77orig/lib $NIX_LDFLAGS"
 
+export NIX_STRIP_DEBUG=
+export NIX_CFLAGS_COMPILE="-g $NIX_CFLAGS_COMPILE"
+
 tar xvfz $src
 cd octavefront-*
 ./autogen.sh
 ./configure --prefix=$out --disable-readline --enable-rna=$rna --enable-aterm
 make
 make install
-strip -S $out/lib/*/*.a
+#strip -S $out/lib/*/*.a