summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/libgcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/libgcc/Makefile')
-rw-r--r--gnu/usr.bin/cc/libgcc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile
index 7f08d05462f..be17201783e 100644
--- a/gnu/usr.bin/cc/libgcc/Makefile
+++ b/gnu/usr.bin/cc/libgcc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.58.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.10 2010/05/05 21:10:27 robert Exp $
+# $OpenBSD: Makefile,v 1.11 2010/05/07 18:47:29 kettenis Exp $
.include <bsd.own.mk>
@@ -69,7 +69,7 @@ LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
# Additional sources to handle exceptions; overridden by targets as needed.
LIB2ADDEH = unwind-dw2.c unwind-sjlj.c gthr-gnat.c \
- unwind-c.c unwind-dw2-fde.c
+ unwind-c.c unwind-dw2-fde-openbsd.c
LIB2ADDEHSTATIC = $(LIB2ADDEH)
LIB2ADDEHSHARED = $(LIB2ADDEH)
@@ -276,7 +276,7 @@ CLEANFILES += ${ASM_V} ${ASM_V:R:S/$/.vo/}
EH_OBJS_T = ${LIB2ADDEHSTATIC:R:S/$/.o/}
EH_OBJS_P = ${LIB2ADDEHSTATIC:R:S/$/.po/}
EH_OBJS_S = ${LIB2ADDEHSHARED:R:S/$/.So/}
-EH_CFLAGS = -fexceptions -D__GLIBC__=3 -DElfW=__ElfN
+EH_CFLAGS = -fexceptions
SOBJS += ${EH_OBJS_S}
OBJS += ${EH_OBJS_T}