]> git.vomp.tv Git - vompserver.git/commitdiff
Add GNU_SOURCE define
authorChris Tallon <chris@vomp.tv>
Wed, 14 Jun 2006 22:28:43 +0000 (22:28 +0000)
committerChris Tallon <chris@vomp.tv>
Wed, 14 Jun 2006 22:28:43 +0000 (22:28 +0000)
Makefile
libdvbmpeg/Makefile

index 23cc9c1e1681313c7727e4be2d61baa7c3cae4e0..b4a05a0174eb2fd0b28835a4079b04376e80f802 100644 (file)
--- 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:
 
index ce53c5d92205e99003f2d8a33f2153bc877272e7..9176f8020d1b909e4e82c60c8018d9046a65c8d8 100644 (file)
@@ -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)