Modernize build
Update the build process for compatibility with newer systems, specifically Ubuntu 20.0.4. Changes:
- Force separate object files to share common variables by using the
-fcommon
compiler directive. GCC compilers before GCC 10 ignored this error, see https://gcc.gnu.org/gcc-10/porting_to.html. - To avoid makefile warning, use pattern rule instead of obsoleted suffix rule in Makefile, see https://stackoverflow.com/questions/9233447/what-is-the-makefile-target-c-o-for.
- Avoid
mkdir
error by using-p
option.
Edited by Allen, Bruce (CIV)
Merge request reports
Activity
Filter activity
assigned to @mdcolli_tycho.ncsc.mil
In the next major version of the trace-generator, it will be significantly refactored, obviating the need for the changes proposed in this merge request. Additionally, this version 3a3418a0 currently at the master branch has been tested on several environments; any changes will require retesting.
This PR addresses several build issues. Most significantly, this PR addresses a breaking build issue when building using GCC 10+.
Please register or sign in to reply