OpenDroneMap-ODM/docker
Daniel Llewellyn 9abf1ee695 Update GCC Wrapper scripts for portable build
The wrapper scripts incorrectly unwrapped arguments with spaces making
them appear to be multiple individual arguments instead of one quoted
argument.

ref: https://github.com/OpenDroneMap/ODM/pull/1170#issuecomment-716607868

Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
2020-10-26 15:56:10 +00:00
..
README Changed architecture of portable docker images to newer nehalem 2019-04-09 14:37:35 -04:00
g++ Update GCC Wrapper scripts for portable build 2020-10-26 15:56:10 +00:00
gcc Update GCC Wrapper scripts for portable build 2020-10-26 15:56:10 +00:00

README

The g++ and gcc scripts in this directory are used to replace the real g++ and gcc programs so that compilation across all projects (including dependencies) uses the -march=nehalem flag, which allows us to build a docker image compatible with most Intel based CPUs.

Without the -march=nehalem flag, a docker image will contain binaries that are optimized for the machine that built the image, and will not run on older machines.