diff options
Diffstat (limited to 'runtime/Makefile')
-rw-r--r-- | runtime/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/Makefile b/runtime/Makefile index 213779a4..27ad6e8c 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -55,13 +55,13 @@ $(LIB): $(OBJS) $(CASMRUNTIME) -DMODEL_$(MODEL) -DABI_$(ABI) -DENDIANNESS_$(ENDIANNESS) -DSYS_$(SYSTEM) -o $@ $^ # If no asm implementation available, compile the portable C implementation -# with CompCert. Since CompCert rejects the "__i64_" identifiers, the C +# with CompCert. Since CompCert rejects the "__compcert_i64_" identifiers, the C # implementation uses "i64_" identifiers, and we rename them in the # generated assembly %.o: c/%.c c/i64.h ../ccomp ../ccomp -O2 -S -o $*.s -I./c c/$*.c - sed -i -e 's/i64_/__i64_/g' $*.s + sed -i -e 's/i64_/__compcert_i64_/g' $*.s $(CASMRUNTIME) -o $*.o $*.s @rm -f $*.s |