Skip to content

Instantly share code, notes, and snippets.

@postwait
Created April 9, 2013 17:48
Show Gist options
  • Select an option

  • Save postwait/5347807 to your computer and use it in GitHub Desktop.

Select an option

Save postwait/5347807 to your computer and use it in GitHub Desktop.
diff --git a/usr/src/lib/fm/libfmd_snmp/Makefile.com b/usr/src/lib/fm/libfmd_snmp/Makefile.com
index 745a101..2acd46c 100644
--- a/usr/src/lib/fm/libfmd_snmp/Makefile.com
+++ b/usr/src/lib/fm/libfmd_snmp/Makefile.com
@@ -44,6 +44,8 @@ LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
+C99MODE= -xc99=%all
+
CPPFLAGS += -I../common -I.
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment