diff options
author | Manuel Solimano <masolimano@uc.cl> | 2022-05-13 18:01:45 -0400 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2022-05-15 23:05:11 +0200 |
commit | 58eb63c18a091570013368ec1ba63d88c7d47b2f (patch) | |
tree | 35d2d5bb799d6f48fb2245bf780f79b44dcd53ae /reproduce/software/bibtex/astrometry-net.tex | |
parent | 4f376e9f27209fb5a69addcc56a37abe8fb8ef01 (diff) |
Configuration: necessary compiler flag added for file in CentOS 7
Until now, Maneage failed to build the 'file' program on at least one
machine running CentOS version 7.9.2009 (with Linux kernel 3.10.0, and GCC
4.8.5) when running './project configure'.
With this commit (as suggested by the error message issued by the
compiler), the '-std=c99' is passed to the compiler in the 'file' recipe
(within 'basic.mk'). This flag puts the compiler in C99 mode, which forces
it to compile code according to the 1999 edition of the C standard. This
was necessary for older versions of GCC (for example GCC 4.8.5 was released
in June 2015); hence why others hadn't reported this issue until now.
After this fix, File compiles succesfully on such systems; without causing
any problem with newer GCC versions (tested in GCC 12.1.0).
This issue was solved with the help of Pedram Ashofte Ardakani and Mohammad
Akhlaghi.
Diffstat (limited to 'reproduce/software/bibtex/astrometry-net.tex')
0 files changed, 0 insertions, 0 deletions