I don't think there is a good reason to use non-standard CFLAGS in
regress/lib/libssl.  As a side effect, fixing this allows all the
tests to actually build on gcc3/alpha where -O produces an internal
compiler error.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/src/regress/lib/libssl/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    6 Sep 2008 12:21:54 -0000       1.13
+++ Makefile    2 Oct 2010 21:37:39 -0000
@@ -38,7 +38,7 @@ SHA512TEST=   sha512t
 SHATEST=       shatest
 
 SSLDIR=        ${.CURDIR}/../../../lib/libssl/src/crypto
-CFLAGS= -O -g -Wall -I${SSLDIR} -I${SSLDIR}/..
+CFLAGS+= -Wall -I${SSLDIR} -I${SSLDIR}/..
 
 CLEANFILES+=   $(BNTEST).c $(ECTEST).c $(HMACTEST).c \
        $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to