svn commit: r360469 - in head/libexec/rtld-elf: . arm
Michal Meloun
mmel at FreeBSD.org
Wed Apr 29 16:05:51 UTC 2020
Author: mmel
Date: Wed Apr 29 16:05:50 2020
New Revision: 360469
URL: https://svnweb.freebsd.org/changeset/base/360469
Log:
Move ARM specific flags to arm/Makefile.inc
Requested by: kib
MFC with: r360463
Modified:
head/libexec/rtld-elf/Makefile
head/libexec/rtld-elf/arm/Makefile.inc
Modified: head/libexec/rtld-elf/Makefile
==============================================================================
--- head/libexec/rtld-elf/Makefile Wed Apr 29 16:04:59 2020 (r360468)
+++ head/libexec/rtld-elf/Makefile Wed Apr 29 16:05:50 2020 (r360469)
@@ -48,9 +48,7 @@ MLINKS?= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
CFLAGS+= -fpic -DPIC $(DEBUG)
-CFLAGS.armv6+= -mfpu=none
-CFLAGS.armv7+= -mfpu=none
-
+
LDFLAGS+= -shared -Wl,-Bsymbolic -Wl,-z,defs -nostdlib -e ${RTLD_ENTRY}
# Pull in the dependencies that we use from libc
.include "rtld-libc/Makefile.inc"
Modified: head/libexec/rtld-elf/arm/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/arm/Makefile.inc Wed Apr 29 16:04:59 2020 (r360468)
+++ head/libexec/rtld-elf/arm/Makefile.inc Wed Apr 29 16:05:50 2020 (r360469)
@@ -5,3 +5,4 @@
# correctly linked. As some of the functions are used before we have
# shared libraries.
LIBADD+= compiler_rt
+CFLAGS+= -mfpu=none
More information about the svn-src-all
mailing list