summary refs log tree commit diff
path: root/pkgs/gnet/gnet-build.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-25 20:43:25 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-25 20:43:25 +0000
commiteeabccf1474c2d6a0ad1926c969d767a08d0ef1a (patch)
tree2ff08866b66ed019be421c7613b52add94687f36 /pkgs/gnet/gnet-build.sh
parent2c2cae89e644a43e0456bf62983755ffa0e03990 (diff)
* Updated packages to use our own glibc.
* Disabled gtkspell support in pan since it (and it alone) has a conflict with the 
  system glibc.
* Use CPU detection in MPlayer so that it also works on systems with different CPUs 
  than the build system's.

svn path=/nixpkgs/trunk/; revision=206
Diffstat (limited to 'pkgs/gnet/gnet-build.sh')
-rwxr-xr-xpkgs/gnet/gnet-build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/gnet/gnet-build.sh b/pkgs/gnet/gnet-build.sh
index e29ac89f10368..c57703ea77a58 100755
--- a/pkgs/gnet/gnet-build.sh
+++ b/pkgs/gnet/gnet-build.sh
@@ -1,12 +1,14 @@
 #! /bin/sh
 
+. $stdenv/setup || exit 1
+
 export PATH=$pkgconfig/bin:/bin:/usr/bin
 envpkgs=$glib
-. $setenv
+. $setenv || exit 1
 
 tar xvfz $src || exit 1
 cd gnet-* || exit 1
-LDFLAGS=-s ./configure --prefix=$out || exit 1
+LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
 make || exit 1
 make install || exit 1
 echo $envpkgs > $out/envpkgs || exit 1