Date: Wed, 1 Jun 2016 14:05:32 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301124 - head/sys/conf Message-ID: <201606011405.u51E5WZi077414@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: br Date: Wed Jun 1 14:05:32 2016 New Revision: 301124 URL: https://svnweb.freebsd.org/changeset/base/301124 Log: Build riscv modules as PIC. Submitted by: Yukishige Shibata <y-shibat@mtd.biglobe.ne.jp> Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk ============================================================================== --- head/sys/conf/kmod.mk Wed Jun 1 14:03:13 2016 (r301123) +++ head/sys/conf/kmod.mk Wed Jun 1 14:05:32 2016 (r301124) @@ -130,7 +130,7 @@ CFLAGS+= ${DEBUG_FLAGS} CFLAGS+= -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer .endif -.if ${MACHINE_CPUARCH} == "aarch64" +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "riscv" CFLAGS+= -fPIC .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606011405.u51E5WZi077414>