Default to building native code
authorJens Axboe <axboe@kernel.dk>
Tue, 6 Mar 2018 21:28:16 +0000 (14:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Mar 2018 21:28:16 +0000 (14:28 -0700)
commita817dc3b3b5a0efc95aaca366875eac67607cd5b
treed891bdbb645f26520c91eb93c1fa0692bad4c9eb
parent825b0a75ded0b3bec4d70ea8ea50af3cad7abab5
Default to building native code

If the local compiler supports it, use -march=native to ensure we
take full advantage of a local build.

If building distro packages, or otherwise for a different platform
than the host, then use --disable-native with configure to remove
this optimization.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile
configure