commit | 78b5627fa1c911713a776e4aa1cb2d8f3a04bd8f | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Tue Mar 14 15:29:38 2017 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Tue May 02 10:21:25 2017 +0000 |
tree | 0d020f86e1d4c3a9469a2e56b4c6128dde191a7d | |
parent | de116e90c03c534fa4b51ef40dfd2bb9e843c86e [diff] |
buildenv: Turn off native architecture builds The compiler option -march=native instructs the compiler to auto-optimize the code for the current build architecture. This is fine for building and using locally, but contraproductive when generating binary packages. This commit replaces -march=native with $(SIMD_FLAGS), which contains a collection of supported SIMD options, so we won't loose the SSE support. Change-Id: I3df4b8db9692016115edbe2247beeec090715687