Print this page
NEX-3166 need to add FMA events for SSD lifespan
Reviewed by: Jeffry Molanus <jeffry.molanus@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>

@@ -19,12 +19,12 @@
 # CDDL HEADER END
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
 #
-#ident  "%Z%%M% %I%     %E% SMI"
 
 include         ../../Makefile.lib
 include         ../Makefile.lib
 
 HDRDIR=         common

@@ -31,10 +31,12 @@
 FMHDRS=         libdiskstatus.h
 
 SUBDIRS=        $(MACH)
 $(BUILD64)SUBDIRS += $(MACH64)
 
+$(RELEASE_BUILD)CPPFLAGS += -DNDEBUG
+
 all :=          TARGET= all
 clean :=        TARGET= clean
 clobber :=      TARGET= clobber
 install :=      TARGET= install
 lint :=         TARGET= lint