Move ARM specific flags to arm/Makefile.inc

Requested by:	kib
MFC with:	r360463
This commit is contained in:
mmel 2020-04-29 16:05:50 +00:00
parent dd3a1b93be
commit c24a037915
2 changed files with 2 additions and 3 deletions

View File

@ -48,9 +48,7 @@ MLINKS?= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1 rtld.1 ld.so.1
CFLAGS+= -fpic -DPIC $(DEBUG) CFLAGS+= -fpic -DPIC $(DEBUG)
CFLAGS.armv6+= -mfpu=none
CFLAGS.armv7+= -mfpu=none
LDFLAGS+= -shared -Wl,-Bsymbolic -Wl,-z,defs -nostdlib -e ${RTLD_ENTRY} LDFLAGS+= -shared -Wl,-Bsymbolic -Wl,-z,defs -nostdlib -e ${RTLD_ENTRY}
# Pull in the dependencies that we use from libc # Pull in the dependencies that we use from libc
.include "rtld-libc/Makefile.inc" .include "rtld-libc/Makefile.inc"

View File

@ -5,3 +5,4 @@
# correctly linked. As some of the functions are used before we have # correctly linked. As some of the functions are used before we have
# shared libraries. # shared libraries.
LIBADD+= compiler_rt LIBADD+= compiler_rt
CFLAGS+= -mfpu=none