From ff65e272a8f8e647a3db5187e5c4594ff01cbd34 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 15 Oct 2020 16:47:35 -0400 Subject: Fix printf formatting for newer msvc Use autoconf rather than ifdefs to determine what format string to use for long long. --- make/libtool.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make/libtool.mk') diff --git a/make/libtool.mk b/make/libtool.mk index abd0aa7e..1ab92b75 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -47,10 +47,10 @@ define compile -c $(1) -o $(call src_to_obj,$(1)) endef -# 1 2 -# Usage: $(call c_compile,src,includes) +# 1 2 3 +# Usage: $(call c_compile,src,includes,xflags) define c_compile - $(CC) $(CFLAGS) \ + $(CC) $(CFLAGS) $(3) \ $(call depflags,$(basename $(call c_src_to_obj,$(1)))) \ $(foreach I,$(2),-I$(I)) \ $(CPPFLAGS) \ -- cgit v1.2.3-54-g00ecf