From 049844351c4849e4be8022c4a19cdf128690900d Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Wed, 14 Jun 2006 22:28:43 +0000 Subject: [PATCH] Add GNU_SOURCE define --- Makefile | 2 +- libdvbmpeg/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23cc9c1..b4a05a0 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual -Werror +CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual -Werror -D_GNU_SOURCE ### The directory environment: diff --git a/libdvbmpeg/Makefile b/libdvbmpeg/Makefile index ce53c5d..9176f80 100644 --- a/libdvbmpeg/Makefile +++ b/libdvbmpeg/Makefile @@ -1,5 +1,5 @@ INCS = -I. -CFLAGS = -g -fPIC -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +CFLAGS = -g -fPIC -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE MFLAG = -M OBJS = ctools.o ringbuffy.o remux.o transform.o cpptools.o SRC = $(wildcard *.c) -- 2.39.5