]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Makefile: Add CFLAGS for timestamp and bundle objects, fixes #4870
authorJaroslav Kysela <perex@perex.cz>
Fri, 19 Jan 2018 09:20:17 +0000 (10:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 19 Jan 2018 09:20:17 +0000 (10:20 +0100)
Makefile

index f4b7debbe18d9ca116fe757063f3863144cb9911..a6629bd30de096dbebc7bbbea99413b55373b509 100644 (file)
--- 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 $@)