gentoo-ebuilds/dev-lang/mujs/files/mujs-1.3.3-flags.patch
Philipp Rösner 0e28ca50b4
dev-lang/mujs: add 1.3.3
Upstream changes to Makefile at f190f88 and
57e3f01.
XCPPFLAGS aren't used in the Makefile anymore.
No API changes in /usr/include/mujs.h.

Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30402
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2023-04-13 09:01:08 +03:00

12 lines
284 B
Diff

diff --git a/Makefile.oirg b/Makefile
index 24049d3..5d5d58d 100644
--- a/Makefile.oirg
+++ b/Makefile
@@ -5,6 +5,7 @@
default: build/debug/mujs build/debug/mujs-pp
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
+CFLAGS += $(XCFLAGS) $(XLDFLAGS)
OPTIM = -O3