GDB: Check for `stdenv.system == "i686-gnu"'.

Reported by Shea Levy, thanks!

svn path=/nixpkgs/trunk/; revision=30484
This commit is contained in:
Ludovic Courtès 2011-11-19 20:37:44 +00:00
parent d3a8263552
commit ef41b48dcb

View File

@ -20,7 +20,7 @@ let
# having `stdenv ? cross' doesn't tell us if we're building `hostDrv' and
# `buildDrv'.
isGNU =
stdenv.system == "i586-pc-gnu"
stdenv.system == "i686-gnu"
|| (stdenv ? cross && stdenv.cross.config == "i586-pc-gnu");
in