Fix invalid zig path in tests makefile & suppress compilation warning (#1308)

pull/1312/head
Disconnect3d 3 years ago committed by GitHub
parent 6af5d7d7ed
commit dd26c60e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
ZIGPATH ?= ../../.zig
ZIGPATH ?= ../../../../.zig
ZIGCC = $(ZIGPATH)/zig cc
CC = gcc
@ -89,7 +89,7 @@ heap_vis.out: heap_vis.c
heap_malloc_chunk.out: heap_malloc_chunk.c
@echo "[+] Building heap_malloc_chunk.out"
${CC} -g -O0 -Wno-nonnull -o heap_malloc_chunk.out heap_malloc_chunk.c -pthread -lpthread
${CC} -g -O0 -Wno-nonnull -Wno-unused-result -o heap_malloc_chunk.out heap_malloc_chunk.c -pthread -lpthread
clean :
@echo "[+] Cleaning stuff"

Loading…
Cancel
Save