[Debian-med-packaging] Bug#984243: Help: mothur: ftbfs with GCC-11
Aaron M. Ucko
ucko at debian.org
Fri Oct 22 12:46:35 BST 2021
Andreas Tille <tille at debian.org> writes:
> OK, I've implemented this in my last commit.
Great, thanks!
> Isn't
>
> # Get the list of all .cpp files, rename to .o files
> #
> OBJECTS=$(patsubst %.cpp,%.o,$(wildcard $(addsuffix *.cpp,$(subdirs))))
> OBJECTS+=$(patsubst %.c,%.o,$(wildcard $(addsuffix *.c,$(subdirs))))
> OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
> OBJECTS+=$(patsubst %.c,%.o,$(wildcard *.c))
>
> the right way to get the path correctly? Or what do you mean?
Please try changing the last two lines to
OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard source/*.cpp))
OBJECTS+=$(patsubst %.c,%.o,$(wildcard source/*.c))
to match the relevant sources' actual location; sorry if that was unclear.
(The existing setup only covers subdirectories of source, missing that
directory's immediate contents.)
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the Debian-med-packaging
mailing list