- fix build on hppa and use a simpler construct
This commit is contained in:
parent
fa5849f9f3
commit
d280bfa41a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2011/11/18 11:16:24 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2011/12/09 08:17:31 jasper Exp $
|
||||
|
||||
COMMENT = clone of backtrace facility found in the GNU libc
|
||||
|
||||
@ -29,8 +29,8 @@ MAKE_FLAGS = LIB=execinfo
|
||||
FAKE_FLAGS = PREFIX=${WRKINST}/${TRUEPREFIX} \
|
||||
MANDIR=${PREFIX}/man/man
|
||||
|
||||
.if ${MACHINE_ARCH:Mmips64*}
|
||||
EXTRA_CFLAGS= -D__BUILTIN_HACK
|
||||
.if ${MACHINE_ARCH:Mmips64*} || ${MACHINE_ARCH:Mhppa}
|
||||
CFLAGS+= -D__BUILTIN_HACK
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
|
@ -1,15 +1,6 @@
|
||||
$OpenBSD: patch-libbacktrace_Makefile,v 1.2 2011/11/16 15:12:53 jasper Exp $
|
||||
$OpenBSD: patch-libbacktrace_Makefile,v 1.3 2011/12/09 08:17:31 jasper Exp $
|
||||
--- libbacktrace/Makefile.orig Mon May 2 19:23:58 2011
|
||||
+++ libbacktrace/Makefile Wed Nov 16 16:00:26 2011
|
||||
@@ -13,7 +13,7 @@ CFLAGS+= -fdiagnostics-show-option -Wall -Werror
|
||||
CFLAGS+= -Wall -Werror
|
||||
.endif
|
||||
CFLAGS+= -ggdb3
|
||||
-CFLAGS+= -I${LOCALBASE}/include
|
||||
+CFLAGS+= -I${LOCALBASE}/include ${EXTRA_CFLAGS}
|
||||
LDFLAGS+= -Wl,--export-dynamic
|
||||
HDRS= backtrace.h
|
||||
|
||||
@@ -26,9 +26,9 @@ CLEANFILES+= backtrace.cat3
|
||||
|
||||
includes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user