diff options
Diffstat (limited to 'librabbitmq/Makefile.am')
-rw-r--r-- | librabbitmq/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/librabbitmq/Makefile.am b/librabbitmq/Makefile.am index 7df78ba..06ade87 100644 --- a/librabbitmq/Makefile.am +++ b/librabbitmq/Makefile.am @@ -1,6 +1,14 @@ lib_LTLIBRARIES = librabbitmq.la AM_CFLAGS = -I$(srcdir)/$(PLATFORM_DIR) -DBUILDING_LIBRABBITMQ + +if GCC +# Because we want to build under Microsoft's C compiler (for which +# there is apparently no demand for C99 support), it's a good idea +# to have gcc tell us when we stray from the old standard. +AM_CFLAGS += -ansi -pedantic +endif + librabbitmq_la_SOURCES = amqp_mem.c amqp_table.c amqp_connection.c amqp_socket.c amqp_debug.c amqp_api.c $(PLATFORM_DIR)/socket.c librabbitmq_la_LDFLAGS = -no-undefined librabbitmq_la_LIBADD = $(EXTRA_LIBS) |