diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-10-29 09:56:23 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-10-29 09:57:21 -0700 |
commit | 5c0ee68d09f9f5845220c12d764b38cd352ad8ea (patch) | |
tree | ee5854d66ef8ef89974c5c80e3bcf2f3bfb82482 /dev-libs/libpy/files | |
parent | www-servers/nginx: bump to v1.19.4 (diff) | |
download | gentoo-5c0ee68d09f9f5845220c12d764b38cd352ad8ea.tar.gz gentoo-5c0ee68d09f9f5845220c12d764b38cd352ad8ea.tar.bz2 gentoo-5c0ee68d09f9f5845220c12d764b38cd352ad8ea.zip |
dev-libs/libpy-0.2.5-r1: Fix CFLAGS (bug #751658), typo (bug #751655)
Closes: https://bugs.gentoo.org/751658
Closes: https://bugs.gentoo.org/751655
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libpy/files')
-rw-r--r-- | dev-libs/libpy/files/libpy-0.2.5-cflags.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/libpy/files/libpy-0.2.5-cflags.patch b/dev-libs/libpy/files/libpy-0.2.5-cflags.patch new file mode 100644 index 000000000000..be8dd1f21726 --- /dev/null +++ b/dev-libs/libpy/files/libpy-0.2.5-cflags.patch @@ -0,0 +1,24 @@ +diff --git a/Makefile b/Makefile +index 09e6e39..9addb5d 100644 +--- a/Makefile ++++ b/Makefile +@@ -46,9 +46,8 @@ CLANG_WARNINGS := \ + -Wno-self-assign-overloaded + WARNINGS := $(BASE_WARNINGS) $($(COMPILER)_WARNINGS) + +-BASE_CXXFLAGS = -std=gnu++17 -g -O$(OPTLEVEL) \ ++BASE_CXXFLAGS = -std=gnu++17 -g \ + -fwrapv -fno-strict-aliasing -pipe \ +- -march=x86-64 -mtune=generic \ + -fvisibility=hidden \ + $(WARNINGS) \ + -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) \ +@@ -58,7 +57,7 @@ BASE_CXXFLAGS = -std=gnu++17 -g -O$(OPTLEVEL) \ + -DLIBPY_MICRO_VERSION=$(MICRO_VERSION) + GCC_FLAGS = -fmax-errors=$(MAX_ERRORS) + CLANG_FLAGS = -ferror-limit=$(MAX_ERRORS) +-CXXFLAGS = $(BASE_CXXFLAGS) $($(COMPILER)_FLAGS) ++CXXFLAGS += $(BASE_CXXFLAGS) $($(COMPILER)_FLAGS) + + # https://github.com/quantopian/libpy/pull/86/files#r309288697 + INCLUDE_DIRS := include/ \ |