]> 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>
Mon, 2 Jul 2018 13:17:11 +0000 (15:17 +0200)
Makefile

index 6be6a9653de16e9086917804d6c512a883428c35..f03cb6aadf386ecfae94089a811882e3d3d4514a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -687,11 +687,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
@@ -751,7 +751,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: $(DVBSCAN-yes) make_webui
        @mkdir -p $(dir $@)