Module Name: src
Committed By: jmcneill
Date: Sat Nov 9 22:40:15 UTC 2013
Modified Files:
src/share/mk: bsd.kmodule.mk
Log Message:
use -fno-unwind-tables when building arm modules
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/mk/bsd.kmodule.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.kmodule.mk
diff -u src/share/mk/bsd.kmodule.mk:1.40 src/share/mk/bsd.kmodule.mk:1.41
--- src/share/mk/bsd.kmodule.mk:1.40 Wed Sep 18 09:25:20 2013
+++ src/share/mk/bsd.kmodule.mk Sat Nov 9 22:40:15 2013
@@ -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 @@ CFLAGS+= -fno-strict-aliasing -Wno-point
# 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"