mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 10:30:52 +00:00
2f7d146390
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
18 lines
453 B
Plaintext
18 lines
453 B
Plaintext
# determines TARGET_CPU, if not forced by user
|
|
if [ -z "$TARGET_CPU" ]; then
|
|
TARGET_CPU=core2
|
|
fi
|
|
|
|
# determine architecture's family
|
|
TARGET_SUBARCH=x86_64
|
|
|
|
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
|
|
TARGET_KERNEL_ARCH=x86
|
|
|
|
# setup ARCH specific *FLAGS
|
|
TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
|
|
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
|
|
|
|
# build with SIMD support ( yes / no )
|
|
TARGET_FEATURES+=" mmx sse sse2"
|