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
|
LDFLAGS=-s
|
||||||
TREE_DEST=tree.exe
|
TREE_DEST=tree.exe
|
||||||
EXTRA_OBJS=strverscmp.o
|
EXTRA_OBJS=strverscmp.o
|
||||||
|
'' else if stdenv.isBSD then ''
|
||||||
|
CFLAGS="-O2 -Wall -fomit-frame-pointer"
|
||||||
|
LDFLAGS=-s
|
||||||
|
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