From: Ivana Hutarova Varekova Date: Mon, 18 Nov 2013 10:25:02 +0000 (+0100) Subject: bindings: remove -nostdinc compiler option X-Git-Tag: v0.41~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e5c3289b737aa1100abae282b56e8ee5d5ccd0;p=thirdparty%2Flibcgroup.git bindings: remove -nostdinc compiler option stdarg.h header file is now (libstdc++-devel-4.6.3) in libctdc++ package, thus compilation of bindings failed: ../../include/libcgroup/log.h:12:20: fatal error: stdarg.h: No such file or directory Thus -nostdinc compiler option have to be removed. Signed-off-by: Ivana Hutarova Varekova Acked-by: Jan Safranek --- diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am index 31feb2ab..caf388ff 100644 --- a/src/bindings/Makefile.am +++ b/src/bindings/Makefile.am @@ -11,5 +11,5 @@ SWIG=swig libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h cp libcgroup.p libcgroup.i - $(CC) $(INCLUDES) -DSWIG -nostdinc -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i + $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i $(SWIG) -python -o libcgroup.c libcgroup.i