comparison usr/src/cmd/boot/bootadm/Makefile @ 13388:6c2fc79987ac

923 bootadm tries to rebuild archives which it shouldn't Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
author Alexander Eremin <a.eremin@nexenta.com>
date Tue, 14 Jun 2011 14:58:56 -0400
parents 4c75f60a2704
children 58bc6f85b799
comparison
equal deleted inserted replaced
13387:7dd5626b8b49 13388:6c2fc79987ac
20 # 20 #
21 # 21 #
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms. 23 # Use is subject to license terms.
24 # 24 #
25 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
26 #
25 27
26 PROG= bootadm 28 PROG= bootadm
27 29
28 SBINLINKS= $(PROG) 30 SBINLINKS= $(PROG)
29 31
34 36
35 37
36 .KEEP_STATE: 38 .KEEP_STATE:
37 39
38 LDLIBS_i386= -lfdisk 40 LDLIBS_i386= -lfdisk
39 LDLIBS += -lnvpair -lgen -ladm -lefi -lscf -lz $(LDLIBS_$(MACH)) 41 LDLIBS += -lnvpair -lgen -ladm -lefi -lscf -lz -lbe -lzfs $(LDLIBS_$(MACH))
40 42
41 # Writing into string literals is incorrect. We need to match gcc's 43 # Writing into string literals is incorrect. We need to match gcc's
42 # behavior, which causes us to take SIGSEGV on such a write. 44 # behavior, which causes us to take SIGSEGV on such a write.
43 CFLAGS += $(XSTRCONST) 45 CFLAGS += $(XSTRCONST)
44 CPPFLAGS += -D_FILE_OFFSET_BITS=64 46 CPPFLAGS += -D_FILE_OFFSET_BITS=64