From 25e5c3289b737aa1100abae282b56e8ee5d5ccd0 Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Mon, 18 Nov 2013 11:25:02 +0100 Subject: [PATCH] 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 --- src/bindings/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2