summaryrefslogtreecommitdiff
path: root/libubacktrace/sysdeps/sh/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libubacktrace/sysdeps/sh/Makefile.arch')
-rw-r--r--libubacktrace/sysdeps/sh/Makefile.arch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libubacktrace/sysdeps/sh/Makefile.arch b/libubacktrace/sysdeps/sh/Makefile.arch
new file mode 100644
index 000000000..9b0de385b
--- /dev/null
+++ b/libubacktrace/sysdeps/sh/Makefile.arch
@@ -0,0 +1,12 @@
+# Makefile for uClibc (sh/libubacktrace)
+#
+# Copyright (C) 2010 STMicroelectronics Ltd
+# Author: Carmelo Amoroso <carmelo.amoroso@st.com>
+
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+libubacktrace_ARCH_SRC-y := backtrace.c
+
+# -fexections is required for backtrace to work using dwarf2
+CFLAGS-backtrace.c := -fexceptions