diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-02-24 21:29:17 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-03-04 22:45:15 +0100 |
commit | 7276ab934d192627c72720ae1378de93edd9e8c7 (patch) | |
tree | 6a2771ec38bdca36cdadfc4b89fb23b3f006bace /make | |
parent | a11081085b9db8ee40236d47849276db71ba0801 (diff) | |
download | qpdf-7276ab934d192627c72720ae1378de93edd9e8c7.tar.zst |
Use -Wold-style-cast for C++ if supported
Also separate C and C++ warning flags.
Diffstat (limited to 'make')
-rw-r--r-- | make/libtool.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ |