diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-08-26 10:10:38 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-08-26 10:10:38 +0200 |
commit | db9e62aa52fe611d28a168ebbce4c454e349830c (patch) | |
tree | 9156aaf67db9131b0eb883138d69fd5b253a884e /test/raytracer/Makefile | |
parent | f6cbce233ef89c30bbc8334c800e8a205677ec8b (diff) | |
download | compcert-db9e62aa52fe611d28a168ebbce4c454e349830c.tar.gz compcert-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/raytracer/Makefile')
-rw-r--r-- | test/raytracer/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/raytracer/Makefile b/test/raytracer/Makefile index c481ff86..8f6541a1 100644 --- a/test/raytracer/Makefile +++ b/test/raytracer/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 LIBS=$(LIBMATH) TIME=xtime |