From 511fddc480c11ba55c9078e54884b584430dc41e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 19 Jan 2018 10:20:17 +0100 Subject: [PATCH] Makefile: Add CFLAGS for timestamp and bundle objects, fixes #4870 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f4b7debbe..a6629bd30 100644 --- a/Makefile +++ b/Makefile @@ -764,11 +764,11 @@ $(BUILDDIR)/timestamp.c: FORCE @echo 'const char* build_timestamp = "'$(BUILD_DATE)'";' >> $@ $(BUILDDIR)/timestamp.o: $(BUILDDIR)/timestamp.c - $(pCC) -c -o $@ $< + $(pCC) $(CFLAGS) -c -o $@ $< $(BUILDDIR)/build.o: $(BUILDDIR)/build.c @mkdir -p $(dir $@) - $(pCC) -c -o $@ $< + $(pCC) $(CFLAGS) -c -o $@ $< # Documentation $(BUILDDIR)/docs-timestamp: $(I18N-DOCS) support/doc/md_to_c.py @@ -825,7 +825,7 @@ src/tvh_locale_inc.c: $(PO-FILES) # Bundle files $(BUILDDIR)/bundle.o: $(BUILDDIR)/bundle.c @mkdir -p $(dir $@) - $(pCC) -I${ROOTDIR}/src -c -o $@ $< + $(pCC) $(CFLAGS) -I${ROOTDIR}/src -c -o $@ $< $(BUILDDIR)/bundle.c: check_dvb_scan make_webui @mkdir -p $(dir $@) -- 2.47.3