From 795e3adb0d70ee47a61f4e82316d2062a98f0c35 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 13 Apr 2016 18:08:55 +0200 Subject: [PATCH] Use CFLAGS when compiling test code for C module tests This is useful to pass e.g. CFLAGS=-g on make command line. --- Examples/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Makefile.in b/Examples/Makefile.in index a091b7343..3919427f5 100644 --- a/Examples/Makefile.in +++ b/Examples/Makefile.in @@ -1745,7 +1745,7 @@ c_cpp: $(SRCDIR_SRCS) $(CXX_LDSHARED) $(CFLAGS) $(OBJS) $(IOBJS) $(LIBS) $(CPP_DLLIBS) -o $(CLIBPREFIX)$(TARGET)$(C_SO) c_compile: $(SRCDIR)$(RUNME).c - $(COMPILETOOL) $(CC) -o $(RUNME) -I. $< -L. -l$(TARGET) + $(COMPILETOOL) $(CC) $(CFLAGS) -o $(RUNME) -I. $< -L. -l$(TARGET) # ----------------------------------------------------------------- # Run C example