forked from mirrors/nixpkgs
tree: configure build for Cygwin
svn path=/nixpkgs/trunk/; revision=27947
This commit is contained in:
parent
bf5c3bb671
commit
486ff3ff40
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue