svn commit: r303911 - in head: share/mk sys/modules/dtrace/dtrace
Ruslan Bukin
br at FreeBSD.org
Wed Aug 10 13:32:29 UTC 2016
Author: br
Date: Wed Aug 10 13:32:27 2016
New Revision: 303911
URL: https://svnweb.freebsd.org/changeset/base/303911
Log:
Remove extra -msoft-float flags settings.
This helps to build firmware modules.
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Modified:
head/share/mk/bsd.cpu.mk
head/sys/modules/dtrace/dtrace/Makefile
Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk Wed Aug 10 12:56:01 2016 (r303910)
+++ head/share/mk/bsd.cpu.mk Wed Aug 10 13:32:27 2016 (r303911)
@@ -327,11 +327,6 @@ CFLAGS += -mfloat-abi=softfp
.endif
.endif
-.if ${MACHINE_CPUARCH} == "riscv"
-CFLAGS += -msoft-float
-ACFLAGS += -msoft-float
-.endif
-
# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
.if !defined(NO_CPU_CFLAGS)
Modified: head/sys/modules/dtrace/dtrace/Makefile
==============================================================================
--- head/sys/modules/dtrace/dtrace/Makefile Wed Aug 10 12:56:01 2016 (r303910)
+++ head/sys/modules/dtrace/dtrace/Makefile Wed Aug 10 13:32:27 2016 (r303911)
@@ -58,11 +58,6 @@ assym.o: assym.s
${AS} -meabi=5 -o assym.o assym.s
.endif
-.if ${MACHINE_CPUARCH} == "riscv"
-assym.o: assym.s
- ${AS} -msoft-float -o assym.o assym.s
-.endif
-
.include <bsd.kmod.mk>
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
More information about the svn-src-head
mailing list