summaryrefslogtreecommitdiff
path: root/util_lib
diff options
context:
space:
mode:
Diffstat (limited to 'util_lib')
-rw-r--r--util_lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util_lib/Makefile b/util_lib/Makefile
index 4e1a01d..84679a1 100644
--- a/util_lib/Makefile
+++ b/util_lib/Makefile
@@ -11,11 +11,11 @@ include $(UTIL_LIB_DEPS)
$(UTIL_LIB_DEPS): $(OBJDIR)/%.d: %.c
$(MKDIR) -p $(@D)
- $(CC) $(CFLAGS) -M $< | sed -e 's|$(patsubst %.d,%.o,$(@F))|$(patsubst %.d,%.o,$(@))|' > $@
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -M $< | sed -e 's|$(patsubst %.d,%.o,$(@F))|$(patsubst %.d,%.o,$(@))|' > $@
$(UTIL_LIB_OBJS): $(OBJDIR)/%.o: %.c $(OBJDIR)/%.d
$(MKDIR) -p $(@D)
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
$(UTIL_LIB): $(UTIL_LIB_OBJS)
$(MKDIR) -p $(@D)