diff options
Diffstat (limited to 'games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch')
-rw-r--r-- | games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch new file mode 100644 index 000000000000..d767f04d4b09 --- /dev/null +++ b/games-fps/yamagi-quake2/files/yamagi-quake2-addon-respect-flags.patch @@ -0,0 +1,30 @@ +--- a/Makefile 2017-05-25 12:45:51.000000000 +0300 ++++ b/Makefile 2018-01-14 17:38:34.540167879 +0300 +@@ -64,11 +64,11 @@ + # + # -MMD to generate header dependencies. + ifeq ($(OSTYPE), Darwin) +-CFLAGS := -O2 -fno-strict-aliasing -fomit-frame-pointer \ +- -Wall -pipe -g -fwrapv -arch i386 -arch x86_64 ++CFLAGS += -fno-strict-aliasing -fomit-frame-pointer \ ++ -Wall -fwrapv -arch i386 -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 + + # ---------- +@@ -80,9 +80,9 @@ + + # Base LDFLAGS. + ifeq ($(OSTYPE), Darwin) +-LDFLAGS := -shared -arch i386 -arch x86_64 ++LDFLAGS += -shared -arch i386 -arch x86_64 + else +-LDFLAGS := -shared ++LDFLAGS += -shared + endif + + # ---------- |