openbsd-ports/devel/libexecinfo/patches/patch-Makefile
jasper ab9f5b91e3 - castrate libexecinfo on mips64 as
__builtin_return_address() and __builtin_frame_address()
can't have a !0 argument on mips.

with a hint from miod@
ok aja@ (sorry for making your eyes bleed..!)
2009-10-09 15:10:13 +00:00

22 lines
438 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2009/10/09 15:10:13 jasper Exp $
--- Makefile.orig Mon Jul 19 07:19:55 2004
+++ Makefile Tue Oct 6 23:12:02 2009
@@ -30,13 +30,15 @@ SRCS= stacktraverse.c stacktraverse.h execinfo.c execi
INCS= execinfo.h
-SHLIB_MAJOR= 1
-SHLIB_MINOR= 0
+SHLIB_MAJOR= ${LIBexecinfo_MAJOR}
+SHLIB_MINOR= ${LIBexecinfo_MINOR}
NOPROFILE= yes
DPADD= ${LIBM}
LDADD= -lm
+
+CFLAGS+= ${EXTRA_CFLAGS}
#WARNS?= 4