From d377243b8557ae8e6c1d374d76b6ee29fd61ceb4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 18 Nov 2009 12:57:18 -0800 Subject: Document userspace switch. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 60fd21efc..add0e72a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,7 @@ CLEANFILES = DISTCLEANFILES = EXTRA_DIST = INSTALL.bridge \ INSTALL.Linux \ + INSTALL.userspace \ INSTALL.OpenFlow \ INSTALL.SSL \ INSTALL.XenServer -- cgit v1.2.1 From d161c099279e9ab564636c72423268e6da69f795 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 19 Nov 2009 13:25:42 -0800 Subject: Move C compiler warning (-W) flags from CFLAGS to AM_CFLAGS. C compiler warning options added by the "configure" script have until now been put into CFLAGS. However that option is supposed to be reserved for the user under Automake rules, so move them to AM_CFLAGS. Besides increased adherence to Automake rules, this is useful because AM_CFLAGS can be overridden on a per-target (e.g. program or library) basis, whereas CFLAGS cannot. In turn, building the sFlow library (which will be added in an upcoming commit) requires overriding the compiler flags to avoid some warning messages. (By modifying the warning flags, we avoid the need to modify the sFlow library in any way.) --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index add0e72a9..de51e10f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,7 @@ AM_CPPFLAGS += -I $(top_srcdir)/include AM_CPPFLAGS += -I $(top_srcdir)/lib AM_CFLAGS = -Wstrict-prototypes +AM_CFLAGS += $(WARNING_FLAGS) if NDEBUG AM_CPPFLAGS += -DNDEBUG -- cgit v1.2.1