Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
compile src/os.c without -Werror for better porting to other os
Browse files Browse the repository at this point in the history
  • Loading branch information
hexcoder- committed Oct 7, 2020
1 parent 2f630d3 commit 53e339a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ src/engine.o: src/engine.c include/engine.h src/feedback.o src/queue.o src/commo

# Compiling the OS helper for the library
src/os.o: src/os.c include/os.h src/common.o src/input.o
$(CC) $(CFLAGS) src/os.c -c -o src/os.o
$(CC) $(CFLAGS) -Wno-error src/os.c -c -o src/os.o

# Compiling the OS helper for the library
src/llmp.o: src/llmp.c include/llmp.h
Expand Down
1 change: 1 addition & 0 deletions src/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ static u8 bind_cpu(s32 cpuid) {

#else

(void) cpuid;
// this will need something for other platforms
// TODO: Solaris/Illumos has processor_bind ... might worth a try
WARNF("Cannot bind to CPU yet on this platform.");
Expand Down

0 comments on commit 53e339a

Please sign in to comment.