Skip to content

Commit

Permalink
Merge pull request #3068 from antonlacon/assume-host-builder
Browse files Browse the repository at this point in the history
config/optimize: add march=native to host cflags
  • Loading branch information
MilhouseVH committed Nov 4, 2018
2 parents b9be00f + ae689aa commit 221c7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/optimize
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"

HOST_CPPFLAGS=""
HOST_CFLAGS="-O2 -Wall -pipe -I$TOOLCHAIN/include"
HOST_CFLAGS="-march=native -O2 -Wall -pipe -I$TOOLCHAIN/include"
HOST_CXXFLAGS="$HOST_CFLAGS"
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
Expand Down

0 comments on commit 221c7a1

Please sign in to comment.