3
0
Fork 0
forked from mirrors/nixpkgs

tree: configure build for Cygwin

svn path=/nixpkgs/trunk/; revision=27947
This commit is contained in:
Peter Simons 2011-07-25 17:19:37 +00:00
parent bf5c3bb671
commit 486ff3ff40

View file

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