Loadable modules: fix debug invocations
[users/jgh/exim.git] / src / OS / Makefile-Base
index 5793869e2dfdc5e2235758b8a4bebf93c4a38bf5..29a6ad37154fd84ebc52c544a7e08caaa06a3d0a 100644 (file)
@@ -641,6 +641,7 @@ $(MONBIN): $(HDRS)
 
 buildlookups lookups/lookups.a: config.h
         @cd lookups; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" CFLAGS="$(CFLAGS)" \
+          CFLAGS_DYNAMIC="$(CFLAGS_DYNAMIC)" \
           FE="$(FE)" RANLIB="$(RANLIB)" RM_COMMAND="$(RM_COMMAND)" HDRS="$(PHDRS)" \
           INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) $(LOOKUP_INCLUDE)"; \
         echo " "