[PATCH] Minor build fix for twofish
Russ Allbery
rra at stanford.edu
Tue Feb 9 18:57:41 CET 1999
If one runs configure with env CFLAGS=-O2, two -O2's end up in the
compilation line. The sed lines in the cipher Makefile only strip out the
first optimization flag, so the twofish compile takes forever and a day.
This is the stupid and trivial fix.
--- gnupg-0.9.2/cipher/Makefile.am.orig Sat Jan 9 06:36:48 1999
+++ gnupg-0.9.2/cipher/Makefile.am Tue Feb 9 18:52:39 1999
@@ -53,11 +53,11 @@
tiger: $(srcdir)/tiger.c
`echo $(COMPILE) $(DYNLINK_MOD_CFLAGS) -o tiger $(srcdir)/tiger.c | \
- sed -e 's/-O[2-9]*/-O1/' `
+ sed -e 's/-O[2-9]*/-O1/g' `
twofish: $(srcdir)/twofish.c
`echo $(COMPILE) $(DYNLINK_MOD_CFLAGS) -o twofish $(srcdir)/twofish.c | \
- sed -e 's/-O[0-9]*/ /' `
+ sed -e 's/-O[0-9]*/ /g' `
rndunix: $(srcdir)/rndunix.c
--
Russ Allbery (rra at stanford.edu) <URL:http://www.eyrie.org/~eagle/>
More information about the Gnupg-devel
mailing list