diff options
| author | Alfredo Tupone <tupone@gentoo.org> | 2020-05-31 20:34:46 +0200 |
|---|---|---|
| committer | Alfredo Tupone <tupone@gentoo.org> | 2020-05-31 20:34:46 +0200 |
| commit | 34b6d46037338456d13f1db41549b678fc32f32a (patch) | |
| tree | cde57f5b787646845215e519536aebe9b26f8374 /dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch | |
| parent | 9291b66bf8368aca97571e9cfcaa58ceb01873e5 (diff) | |
| download | gentoo-34b6d46037338456d13f1db41549b678fc32f32a.tar.gz gentoo-34b6d46037338456d13f1db41549b678fc32f32a.tar.bz2 gentoo-34b6d46037338456d13f1db41549b678fc32f32a.zip | |
dev-tcltk/tclpython: CFLAGS/LDFLAGS/strip
Closes: https://bugs.gentoo.org/724062
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch')
| -rw-r--r-- | dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch index 7f4aa0bf5a2e..965fe3d8d722 100644 --- a/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch +++ b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch @@ -1,5 +1,19 @@ --- a/Makefile 2018-10-28 17:21:20.274137396 +0100 +++ b/Makefile 2018-10-28 17:21:47.696694473 +0100 +@@ -16,11 +16,11 @@ + LIBRARY:= $(PKG_NAME).so.$(PKG_VERSION) + + TCL_VERSION=$(shell echo 'puts $\$$tcl_version' | tclsh) +-CFLAGS:= -O2 -Wall -fPIC -DUSE_TCL_STUBS ++CFLAGS:= @CFLAGS@ -fPIC -DUSE_TCL_STUBS + CFLAGS+= $(shell $(PYTHON_CONFIG) --includes) + CFLAGS+= -I/usr/include/tcl$(TCL_VERSION) + CFLAGS+= -DTCLPYTHON_VERSION=$(PKG_VERSION) +-LDFLAGS:= -shared -s ++LDFLAGS:= @LDFLAGS@ -shared + LDFLAGS+= $(shell $(PYTHON_CONFIG) --libs) + LDFLAGS+= -ltclstub$(TCL_VERSION) + @@ -62,7 +62,8 @@ $(OUTPUT_DIR)/pkgIndex.tcl:pkg/pkgIndex.tcl cp -t $(dir $@) $^ |
