1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-23 12:06:18 +00:00
Lakka-LibreELEC/config/arch.i386
2021-10-05 10:27:28 +02:00

18 lines
450 B
Plaintext

# determines TARGET_CPU, if not forced by user
if [ -z "$TARGET_CPU" ]; then
TARGET_CPU=i686
fi
# determine architecture's family
TARGET_SUBARCH=i686
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_KERNEL_ARCH=x86
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_CPU -m32 -mmmx -msse -msse2 -mfpmath=sse"
TARGET_LDFLAGS="-march=$TARGET_CPU -m32"
# build with SIMD support ( yes / no )
TARGET_FEATURES+=" mmx sse sse2"