aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/rules.mk
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
commite8b35c4b975a46a5dc5e0c022897359cbfe2d72b (patch)
tree63eefc37ce7964ffbfdc847dabe8e59e5894b540 /test/monniaux/rules.mk
parent5ad25465f77c3009eaff7e9a124c254c1e9f33cd (diff)
downloadcompcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.tar.gz
compcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.zip
Makefiles now use rules.mk, and added a prohibition of unprototyped functions
Diffstat (limited to 'test/monniaux/rules.mk')
-rw-r--r--test/monniaux/rules.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/monniaux/rules.mk b/test/monniaux/rules.mk
index 11256bd3..19a11c5f 100644
--- a/test/monniaux/rules.mk
+++ b/test/monniaux/rules.mk
@@ -1,10 +1,12 @@
CCOMP=ccomp
-CCOMPFLAGS=-O3 -Wall
+CCOMPFLAGS=-O3 -Wall -fno-unprototyped
CFLAGS= -std=c99 -O3 -Wall -Wextra -Werror=implicit
K1C_CC=k1-mbr-gcc
K1C_CFLAGS = -std=c99 -O3 -Wall -Wextra -Werror=implicit
K1C_CCOMP = ../../../ccomp
-K1C_CCOMPFLAGS=-O3 -Wall
+K1C_CCOMPFLAGS=-O3 -Wall -fno-unprototyped
+
+EXECUTE=k1-cluster --syscall=libstd_scalls.so --
%.host.gcc.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<