summaryrefslogtreecommitdiffstats
path: root/make/libtool.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/libtool.mk')
-rw-r--r--make/libtool.mk2
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) \