tree: configure build for BSD Unix

svn path=/nixpkgs/trunk/; revision=27948
This commit is contained in:
Peter Simons 2011-07-25 17:24:49 +00:00
parent 486ff3ff40
commit de4c559ce9

View File

@ -16,6 +16,10 @@ let
LDFLAGS=-s
TREE_DEST=tree.exe
EXTRA_OBJS=strverscmp.o
'' else if stdenv.isBSD then ''
CFLAGS="-O2 -Wall -fomit-frame-pointer"
LDFLAGS=-s
EXTRA_OBJS=strverscmp.o
'' else
""; # use linux flags by default
in