mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-06 15:47:46 +00:00
Apply a large hammer to reduce compiler optimization level on mips64 due to
clang 19 segfaulting otherwise. This can surely be improved upon, but the immediate goal is to unbreak builds.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2006/11/27 19:27:25 matthieu Exp $
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2025/06/30 14:10:09 miod Exp $
|
||||||
|
|
||||||
|
.if ${MACHINE_CPU} == "mips64"
|
||||||
|
CFLAGS+= -O0
|
||||||
|
CONFIGURE_ARGS+= --cache-file=/dev/null
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.xorg.mk>
|
.include <bsd.xorg.mk>
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
# $OpenBSD: Makefile.bsd-wrapper,v 1.5 2025/03/09 15:14:49 matthieu Exp $
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.6 2025/06/30 14:10:09 miod Exp $
|
||||||
.include <bsd.xconf.mk>
|
.include <bsd.xconf.mk>
|
||||||
|
|
||||||
SHARED_LIBS= Xfont2 3.0
|
SHARED_LIBS= Xfont2 3.0
|
||||||
|
|
||||||
CONFIGURE_ARGS+= --disable-fc --with-xmlto=no --disable-devel-docs
|
CONFIGURE_ARGS+= --disable-fc --with-xmlto=no --disable-devel-docs
|
||||||
|
|
||||||
|
.if ${MACHINE_CPU} == "mips64"
|
||||||
|
CFLAGS+= -O1
|
||||||
|
CONFIGURE_ARGS+= --cache-file=/dev/null
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.xorg.mk>
|
.include <bsd.xorg.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user