]> git.vomp.tv Git - vompserver.git/commitdiff
Change for GNU_SOURCE def
authorChris Tallon <chris@vomp.tv>
Sun, 5 Nov 2006 15:53:05 +0000 (15:53 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 5 Nov 2006 15:53:05 +0000 (15:53 +0000)
Makefile

index b4a05a0174eb2fd0b28835a4079b04376e80f802..5363bad8d184c4fa4ad4326b669c7cf4cce2d7c0 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 -D_GNU_SOURCE
+CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual -Werror
 
 ### The directory environment:
 
@@ -42,7 +42,7 @@ PACKAGE = vdr-$(ARCHIVE)
 
 INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -Iremux -Ilibdvbmpeg
 
-DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
 
 ### The object files (add further files here):