vdr_epgsearch: Apply CFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2015 21:42:19 +0000 (23:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2015 21:42:19 +0000 (23:42 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/vdr_epgsearch

index 509efb1..e621670 100644 (file)
@@ -38,6 +38,10 @@ DEPS       = ""
 
 VDRPLUGVER = 2.0.0
 
+EXTRA_FLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+CFLAGS    += $(EXTRA_FLAGS)
+CXXFLAGS  += $(EXTRA_FLAGS)
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -82,6 +86,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/vdr-epgsearch-1.0.1.beta3-paths.patch
 
        cd $(DIR_APP) && make $(MAKE_TUNING) LIBDIR=. VDRDIR=/usr/lib/vdr \
+               CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
                LOCALEDIR=$$(pwd)/locale all
 
        cd $(DIR_APP) && install -m 755 libvdr-conflictcheckonly.so \