OpenDroneMap-ODM/docker
Ubuntu a93e20a58f Added dockerfile for march=core2 compilation
Former-commit-id: 619c644acf
2016-11-30 13:20:26 +00:00
..
README Added dockerfile for march=core2 compilation 2016-11-30 13:20:26 +00:00
g++ Added dockerfile for march=core2 compilation 2016-11-30 13:20:26 +00:00
gcc Added dockerfile for march=core2 compilation 2016-11-30 13:20:26 +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=core2 flag, which allows us to build a docker image compatible with most CPU architectures.

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