@@ -, +, @@ $ ./configure CFLAGS=-flto=2 LDFLAGS=-flto=2 ... configure:3856: gcc -flto=2 -flto=2 conftest.c >&5 cc: error trying to exec '/usr/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2': execv: Argument list too long make[7]: *** [: all] Error 1 --- Makefile.am | 16 ++++++++-------- all.c | 1 - all_headers.c | 1 + all.h => all_headers.h | 0 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 all.c create mode 100644 all_headers.c rename all.h => all_headers.h (100%) --- a/Makefile.am +++ a/Makefile.am @@ -317,7 +317,7 @@ isl_test_cpp_checked_conversion_LDADD = libisl.la @MP_LIBS@ # dummy library that captures the dependencies on all headers # that are relevant for the bindings noinst_LIBRARIES = libdep.a -libdep_a_SOURCES = all.c +libdep_a_SOURCES = all_headers.c if HAVE_CLANG interface/isldlname.py: libisl.la @@ -326,27 +326,27 @@ interface/isl.py: interface/extract_interface libdep.a python/isl.py.top \ interface/isldlname.py (cat interface/isldlname.py $(srcdir)/python/isl.py.top && \ interface/extract_interface$(EXEEXT) --language=python \ - $(includes) $(srcdir)/all.h) \ + $(includes) $(srcdir)/all_headers.h) \ > $@ || (rm $@ && false) include/isl/cpp.h: interface/extract_interface libdep.a \ cpp/cpp.h.top cpp/cpp.h.pre cpp/cpp.h.bot $(MKDIR_P) "include/isl/cpp" && \ - (cat $(srcdir)/cpp/cpp.h.top $(srcdir)/all.h \ + (cat $(srcdir)/cpp/cpp.h.top $(srcdir)/all_headers.h \ $(srcdir)/cpp/cpp.h.pre && \ interface/extract_interface$(EXEEXT) --language=cpp \ - $(includes) $(srcdir)/all.h && \ + $(includes) $(srcdir)/all_headers.h && \ cat $(srcdir)/cpp/cpp.h.bot) \ > $@ || (rm $@ && false) include/isl/cpp-checked.h: interface/extract_interface libdep.a \ cpp/cpp-checked.h.top \ cpp/cpp-checked.h.pre cpp/cpp-checked.h.bot - (cat $(srcdir)/cpp/cpp-checked.h.top $(srcdir)/all.h \ + (cat $(srcdir)/cpp/cpp-checked.h.top $(srcdir)/all_headers.h \ $(srcdir)/cpp/cpp-checked.h.pre && \ interface/extract_interface$(EXEEXT) \ --language=cpp-checked \ - $(includes) $(srcdir)/all.h && \ + $(includes) $(srcdir)/all_headers.h && \ cat $(srcdir)/cpp/cpp-checked.h.bot) \ > $@ || (rm $@ && false) @@ -356,7 +356,7 @@ include/isl/cpp-checked-conversion.h: interface/extract_interface libdep.a \ (cat $(srcdir)/cpp/cpp-checked-conversion.h.top && \ interface/extract_interface$(EXEEXT) \ --language=cpp-checked-conversion \ - $(includes) $(srcdir)/all.h && \ + $(includes) $(srcdir)/all_headers.h && \ cat $(srcdir)/cpp/cpp-checked-conversion.h.bot) \ > $@ || (rm $@ && false) endif @@ -526,7 +526,7 @@ EXTRA_DIST = \ imath/imath.h \ imath/imrat.c \ imath/imrat.h \ - all.h \ + all_headers.h \ cpp \ python \ isl_test_cpp-generic.cc \ --- a/all.c +++ a/all.c @@ -1, +0,0 @@ -#include "all.h" --- a/all_headers.c +++ a/all_headers.c @@ -0,0 +1, @@ +#include "all_headers.h"