mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-23 08:20:00 +00:00
buildsystem: remove march and mcpu from LDFLAGS
march and mcpu were added in ~2011. I don't know why. I have seen CFLAGS added en masse to LDFLAGS when using LTO, but that does not explain these inclusions. Remove to cleanup LDFLAGS. Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
a1a77bfc2d
commit
e6cade60d9
@ -31,5 +31,5 @@
|
||||
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU"
|
||||
# Disable runtime checking support of ARMv8.0's optional LSE feature. Breaks gdb and mesa compile.
|
||||
TARGET_CFLAGS="${TARGET_CFLAGS} -mno-outline-atomics"
|
||||
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
|
||||
TARGET_LDFLAGS=""
|
||||
TARGET_ARCH_GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
|
||||
|
@ -71,6 +71,6 @@
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
|
||||
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
|
||||
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
|
||||
TARGET_LDFLAGS=""
|
||||
TARGET_ARCH_GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
|
||||
TARGET_CXXFLAGS="-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# setup ARCH specific *FLAGS
|
||||
TARGET_CFLAGS="-march=${TARGET_CPU}"
|
||||
TARGET_LDFLAGS="-march=${TARGET_CPU}"
|
||||
TARGET_LDFLAGS=""
|
||||
|
||||
# build with microarchitecture feature support defined by the TARGET_CPU value
|
||||
# see https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/home for further details
|
||||
|
Loading…
Reference in New Issue
Block a user