Makefile: Define CFLAGS_FORCE_C_SOURCE macro
[ccan] / Makefile
index 127b8757808eedeabec2c53425ef0850c89ce5c6..37ff17de389ecba5797780bf1ed49f88a87ef1ba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ summary-fastcheck/%: tools/ccanlint/ccanlint $(OBJFILES)
        $(CCANLINT_FAST) -s ccan/$*
 
 ccan/%/info: ccan/%/_info config.h
-       $(CC) $(CCAN_CFLAGS) -I. -o $@ -x c $<
+       $(CC) $(CCAN_CFLAGS) -I. -o $@ $(CFLAGS_FORCE_C_SOURCE) $<
 
 all_info: $(MODS:%=ccan/%/info)