From db9e62aa52fe611d28a168ebbce4c454e349830c Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sat, 26 Aug 2017 10:10:38 +0200 Subject: test/: add a CCOMPOPTS make variable to pass additional compile-time flags E.g. "-Os" for testing in "optimize for size" mode, or "-mthumb" for testing ARM in Thumb2 mode. --- test/spass/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/spass') diff --git a/test/spass/Makefile b/test/spass/Makefile index 110359ad..0e89d6d1 100644 --- a/test/spass/Makefile +++ b/test/spass/Makefile @@ -1,7 +1,7 @@ include ../../Makefile.config CC=../../ccomp -CFLAGS=-stdlib ../../runtime -dparse -dclight -dasm -fstruct-return +CFLAGS=$(CCOMPOPTS) -stdlib ../../runtime -dparse -dclight -dasm -fstruct-return SRCS=analyze.c clause.c clock.c closure.c cnf.c component.c \ condensing.c context.c defs.c dfgparser.c dfgscanner.c doc-proof.c \ -- cgit