Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk use -fno-unwind-tables when building arm modules
details: https://anonhg.NetBSD.org/src/rev/dab4b062a6af
branches: trunk
changeset: 791242:dab4b062a6af
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Nov 09 22:40:15 2013 +0000
description:
use -fno-unwind-tables when building arm modules
diffstat:
share/mk/bsd.kmodule.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c5fa72a72f3c -r dab4b062a6af share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Sat Nov 09 21:41:03 2013 +0000
+++ b/share/mk/bsd.kmodule.mk Sat Nov 09 22:40:15 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmodule.mk,v 1.40 2013/09/18 09:25:20 martin Exp $
+# $NetBSD: bsd.kmodule.mk,v 1.41 2013/11/09 22:40:15 jmcneill Exp $
# We are not building this with PIE
MKPIE=no
@@ -27,7 +27,7 @@
# relocations inside the loader and removing this workaround, as the
# resulting code would be much faster.
.if ${MACHINE_CPU} == "arm"
-CFLAGS+= -fno-common
+CFLAGS+= -fno-common -fno-unwind-tables
.elif ${MACHINE_CPU} == "hppa"
CFLAGS+= -mlong-calls
.elif ${MACHINE_CPU} == "powerpc"
Home |
Main Index |
Thread Index |
Old Index