Removed -fnested-functions for other platforms except MacOS X
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 6 Jul 2007 21:32:48 +0000 (21:32 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 6 Jul 2007 21:32:48 +0000 (21:32 +0000)
extras/contrib/src/Makefile

index 94def18..beb2206 100644 (file)
@@ -1603,7 +1603,11 @@ zvbi: zvbi-$(ZVBI_VERSION).tar.bz2
        $(EXTRACT_BZ2)
 
 .zvbi: zvbi
+ifdef HAVE_DARWIN_OS
        (cd $<; ./configure --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -fnested-functions" && make && make install)
+else
+       (cd $<; ./configure --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" && make && make install)
+endif
        touch $@
 
 CLEAN_FILE += .zvbi