SHA256
1
0
forked from pool/libgcrypt
libgcrypt/libgcrypt-strict-aliasing.patch

14 lines
390 B
Diff
Raw Normal View History

--- cipher/Makefile.am
+++ cipher/Makefile.am
@@ -71,3 +71,10 @@
tiger.lo: $(srcdir)/tiger.c
`echo $(LTCOMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' `
+
+# We need to build ac.c with -fno-strict-aliasing
+ac.o: $(srcdir)/ac.c
+ `echo $(COMPILE) -fno-strict-aliasing -c $(srcdir)/ac.c`
+
+ac.lo: $(srcdir)/ac.c
+ `echo $(LTCOMPILE) -fno-strict-aliasing -c $(srcdir)/ac.c`