From 7276ab934d192627c72720ae1378de93edd9e8c7 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 24 Feb 2013 15:29:17 -0500 Subject: Use -Wold-style-cast for C++ if supported Also separate C and C++ warning flags. --- make/libtool.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/libtool.mk b/make/libtool.mk index 60d40f5f..d1a19bc1 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -73,7 +73,7 @@ endef # Usage: $(call libcompile,src,includes) define c_libcompile $(LIBTOOL) --quiet --mode=compile \ - $(CC) $(CXXFLAGS) \ + $(CC) $(CFLAGS) \ $(call libdepflags,$(basename $(call c_src_to_obj,$(1)))) \ $(foreach I,$(2),-I$(I)) \ $(CPPFLAGS) \ -- cgit v1.2.3-54-g00ecf