mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/optimize: add march=native to host cflags
Relies on the assumption that the machine that will build the toolchain will also be the machine to use said toolchain. Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
75688f2785
commit
ae689aa0a5
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user