mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-20 20:47:18 +00:00
18 lines
425 B
Plaintext
18 lines
425 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=$(echo $TARGET_SUBARCH | sed -e "s,-,,")
|
|
TARGET_KERNEL_ARCH=x86
|
|
|
|
# setup ARCH specific *FLAGS
|
|
TARGET_CFLAGS="-march=$TARGET_CPU -m64"
|
|
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
|
|
|
|
# build with SIMD support ( yes / no )
|
|
SIMD_SUPPORT="yes"
|