aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:10:38 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:10:38 +0200
commitdb9e62aa52fe611d28a168ebbce4c454e349830c (patch)
tree9156aaf67db9131b0eb883138d69fd5b253a884e /test/Makefile
parentf6cbce233ef89c30bbc8334c800e8a205677ec8b (diff)
downloadcompcert-kvx-db9e62aa52fe611d28a168ebbce4c454e349830c.tar.gz
compcert-kvx-db9e62aa52fe611d28a168ebbce4c454e349830c.zip
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.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 5e9e0555..6e9a78d8 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,7 @@
DIRS=c compression raytracer spass regression
all:
- for i in $(DIRS); do $(MAKE) -C $$i all; done
+ for i in $(DIRS); do $(MAKE) CCOMPOPTS='$(CCOMPOPTS)' -C $$i all; done
test:
set -e; for i in $(DIRS); do $(MAKE) SIMU='$(SIMU)' -C $$i test; done