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"
|
CFLAGS="-O2 -Wall -fomit-frame-pointer -no-cpp-precomp"
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
EXTRA_OBJS=strverscmp.o
|
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
|
'' else
|
||||||
""; # use linux flags by default
|
""; # use linux flags by default
|
||||||
in
|
in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user