tree: configure build for BSD Unix
svn path=/nixpkgs/trunk/; revision=27948
This commit is contained in:
parent
486ff3ff40
commit
de4c559ce9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user