diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-17 07:55:19 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-17 07:55:33 +0100 |
commit | ee1370cff3eb72ba405aff96423cd2ab8016ded4 (patch) | |
tree | 8273abc503cc874022b86e788b5998836c741e10 /dev-util/elfkickers | |
parent | media-sound/ncmpcpp: mark stable (diff) | |
download | gentoo-ee1370cff3eb72ba405aff96423cd2ab8016ded4.tar.gz gentoo-ee1370cff3eb72ba405aff96423cd2ab8016ded4.tar.bz2 gentoo-ee1370cff3eb72ba405aff96423cd2ab8016ded4.zip |
dev-util/elfkickers: use $(CC) -E, not gcc -E
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/790611
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/elfkickers')
-rw-r--r-- | dev-util/elfkickers/elfkickers-3.1a.ebuild | 1 | ||||
-rw-r--r-- | dev-util/elfkickers/files/elfkickers-3.1-CC.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/elfkickers/elfkickers-3.1a.ebuild b/dev-util/elfkickers/elfkickers-3.1a.ebuild index 170b7cae199e..17da43f9da49 100644 --- a/dev-util/elfkickers/elfkickers-3.1a.ebuild +++ b/dev-util/elfkickers/elfkickers-3.1a.ebuild @@ -25,6 +25,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.1-create-destdir-path.patch "${FILESDIR}"/add-freebsd-elf-defs.patch "${FILESDIR}"/${PN}-3.1-AR.patch + "${FILESDIR}"/${PN}-3.1-CC.patch ) src_prepare() { diff --git a/dev-util/elfkickers/files/elfkickers-3.1-CC.patch b/dev-util/elfkickers/files/elfkickers-3.1-CC.patch new file mode 100644 index 000000000000..b1541d5cb179 --- /dev/null +++ b/dev-util/elfkickers/files/elfkickers-3.1-CC.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/790611 +--- a/elftoc/Makefile ++++ b/elftoc/Makefile +@@ -30,7 +30,7 @@ out.o : out.c out.h gen.h readelf.h pieces.h address.h shdrtab.h \ + elftoc.o : elftoc.c gen.h readelf.h pieces.h address.h outbase.h out.h + + elfnames.c: mknames +- echo '#include <elf.h>' | gcc -E -dM -xc /dev/stdin | ./$^ $@ ++ echo '#include <elf.h>' | $(CC) -E -dM -xc /dev/stdin | ./$^ $@ + + mknames: mknames.o + mknames.o: mknames.c |