aboutsummaryrefslogtreecommitdiffstats
path: root/make/libtool.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/libtool.mk')
-rw-r--r--make/libtool.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/libtool.mk b/make/libtool.mk
index e68bea4c..34b0fe2c 100644
--- a/make/libtool.mk
+++ b/make/libtool.mk
@@ -37,10 +37,10 @@ endif
# --- Required rule definitions ---
-# 1 2
-# Usage: $(call compile,src,includes)
+# 1 2 3
+# Usage: $(call compile,src,includes,xflags)
define compile
- $(CXX) $(CXXFLAGS) \
+ $(CXX) $(CXXFLAGS) $(3) \
$(call depflags,$(basename $(call src_to_obj,$(1)))) \
$(foreach I,$(2),-I$(I)) \
$(CPPFLAGS) \