diff options
author | Marco Genasci <fedeliallalinea@gmail.com> | 2021-07-14 11:05:03 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-16 14:46:13 +0300 |
commit | 4cd20ef753adcbf7fae65db20d028c90b7e459bc (patch) | |
tree | f2b1afc8961d13d6119c265b135da011e4a58023 /app-crypt/aescrypt/files | |
parent | fortran-2.eclass: support EAPI 8 (diff) | |
download | gentoo-4cd20ef753adcbf7fae65db20d028c90b7e459bc.tar.gz gentoo-4cd20ef753adcbf7fae65db20d028c90b7e459bc.tar.bz2 gentoo-4cd20ef753adcbf7fae65db20d028c90b7e459bc.zip |
app-crypt/aescrypt: fix LDFLAGS in Makefile
Closes: https://bugs.gentoo.org/763660
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21633
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/aescrypt/files')
-rw-r--r-- | app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch new file mode 100644 index 000000000000..757f0e4e7fcb --- /dev/null +++ b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch @@ -0,0 +1,20 @@ +diff -Naru a/src/Makefile b/src/Makefile +--- a/src/Makefile 2021-07-14 09:25:15.509797042 +0200 ++++ b/src/Makefile 2021-07-14 09:25:46.689797121 +0200 +@@ -27,13 +27,13 @@ + all: aescrypt aescrypt_keygen + + aescrypt: $(AESCRYPT_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(AESCRYPT_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(AESCRYPT_OBJS) + + aescrypt_keygen: $(KEYGEN_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(KEYGEN_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(KEYGEN_OBJS) + + %.o: %.c %.h +- $(CC) $(CFLAGS) -c $*.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -c $*.c + + install: aescrypt + install -o root -g root -m 755 aescrypt /usr/bin |