From 92781203fc114a57795f54314366e9266899ee65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 10 Oct 2001 18:15:21 +0200
Subject: [PATCH] (CFLAGS): Don't disable optimization. (run-tests): Set srcdir
 in the environment when running run-tests.

Rev: src/nettle/testsuite/Makefile.am:1.13
---
 testsuite/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 6e73ff43..c61a8d98 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -1,4 +1,4 @@
-CFLAGS = -I$(top_srcdir) @CFLAGS@ -O0
+CFLAGS = -I$(top_srcdir) @CFLAGS@
 CPPFLAGS = @CPPFLAGS@
 
 TS_PROGS = aes-test arcfour-test blowfish-test cast128-test \
@@ -29,5 +29,5 @@ $(M4_FILES:.m4=.c): %.c: macros.m4 %.m4
 check: run-tests
 
 run-tests: $(TS_PROGS)
-	$(srcdir)/run-tests $^
+	srcdir="$(srcdir)" "$(srcdir)"/run-tests $^
 
-- 
GitLab