Print this page
7595 sgs native-proto fails on pre-7029 illumos-gate
Reviewed by: Richard Lowe <richlowe@richlowe.net>

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2016 RackTop Systems.
 #
 
 LIBRARY =       liblddbg.a
 VERS =          .4
 

@@ -65,10 +66,11 @@
 CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc
 DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO) '-R$$ORIGIN'
 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
 
 native :=       DYNFLAGS        += $(CONVLIBDIR)
+native :=       CPPFLAGS        += -DNATIVE_BUILD
 
 BLTDEFS =       msg.h
 BLTDATA =       msg.c
 BLTMESG =       $(SGSMSGDIR)/liblddbg