From 38423c67c8a23f6a1bc42038193182e2da3116eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 11:37:10 +0100 Subject: gentoo resync : 25.04.2020 --- .../yamagi-quake2-addon-respect-flags-r4.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags-r4.patch (limited to 'games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags-r4.patch') diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags-r4.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags-r4.patch new file mode 100644 index 000000000000..86c794b99e5e --- /dev/null +++ b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags-r4.patch @@ -0,0 +1,33 @@ +--- a/Makefile 2020-02-24 19:01:11.000000000 +0300 ++++ b/Makefile 2020-03-08 03:07:40.480074095 +0300 +@@ -66,11 +66,11 @@ endif + # + # -MMD to generate header dependencies. + ifeq ($(OSTYPE), Darwin) +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -fwrapv -arch x86_64 ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -fwrapv -arch x86_64 + else +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -MMD -fwrapv ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -MMD -fwrapv + endif + + # ---------- +@@ -93,11 +93,11 @@ endif + + # Base LDFLAGS. + ifeq ($(OSTYPE), Darwin) +-LDFLAGS := -shared -arch x86_64 ++LDFLAGS += -shared -arch x86_64 + else ifeq ($(OSTYPE), Windows) +-LDFLAGS := -shared -static-libgcc ++LDFLAGS += -shared -static-libgcc + else +-LDFLAGS := -shared -lm ++LDFLAGS += -shared -lm + endif + + # ---------- -- cgit v1.2.3