diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-action/atanks/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-action/atanks/files')
-rw-r--r-- | games-action/atanks/files/atanks-6.4-fix-build-system.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-action/atanks/files/atanks-6.4-fix-build-system.patch b/games-action/atanks/files/atanks-6.4-fix-build-system.patch new file mode 100644 index 000000000000..e13ebb1d1421 --- /dev/null +++ b/games-action/atanks/files/atanks-6.4-fix-build-system.patch @@ -0,0 +1,28 @@ +* Don't try to find where $(CXX) is, just use it +* Don't muck with CXXFLAGS + +--- a/Makefile ++++ b/Makefile +@@ -85,13 +85,9 @@ + # ------------------------------------ + INSTALL := $(shell which install) + RM := $(shell which rm) -f +-CXX ?= g++ + SED := $(shell which sed) + WINDRES := + +-ifeq (,$(findstring /,$(CXX))) +- CXX := $(shell which $(CXX)) +-endif + + + # if this is a Windows target, prefer mingw32-g++ over g++ +@@ -231,8 +227,6 @@ + CPPFLAGS := ${CPPFLAGS} -DATANKS_DEBUG_LOGTOFILE + endif + +-else +- CXXFLAGS := -march=native ${CXXFLAGS} -O2 + endif + + |