Ignore warnings on unused return values
Modify the Makefile to silence warnings about unused return values in the source code. Signed-off-by: Clark Rawlins <clark@bit63.org>
This commit is contained in:
parent
957c5aefad
commit
4f37273c60
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall
|
CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall -Wno-unused-result
|
||||||
timeoutd: timeoutd.c Makefile
|
timeoutd: timeoutd.c Makefile
|
||||||
#$(CC) $(CFLAGS) -o timeoutd timeoutd.c
|
#$(CC) $(CFLAGS) -o timeoutd timeoutd.c
|
||||||
$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11
|
$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11
|
||||||
|
|
Loading…
Reference in a new issue