Skip to content

Commit

Permalink
Attemped fix on ci-cd errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbDehmel committed Apr 16, 2024
1 parent 5e43cd3 commit 879fe6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion extra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all:
$(MAKE) -j 4 regex_inter.o bit_print.o math.o

%.o: %.c
clang -std=c17 $(FLAGS) -c -o $@ $<
clang -std=gnu11 $(FLAGS) -c -o $@ $<

%.o: %.cpp
clang++ -std=c++17 $(FLAGS) -c -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion sdl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all:
clang++ -std=c++17 -I/usr/include/SDL2 -D_REENTRANT -c -o $@ $<

%.o: %.c
clang -std=c17 -I/usr/include/SDL2 -D_REENTRANT -c -o $@ $<
clang -std=gnu11 -I/usr/include/SDL2 -D_REENTRANT -c -o $@ $<

clean:
rm *.o
2 changes: 1 addition & 1 deletion std/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ all:
time.o panic.o sock.o cstr.o string.o

%.o: %.c
clang -std=c17 $(FLAGS) -c -o $@ $<
clang -std=gnu11 $(FLAGS) -c -o $@ $<

%.o: %.cpp
clang++ -std=c++17 $(FLAGS) -c -o $@ $<
Expand Down
1 change: 1 addition & 0 deletions std/time.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "/usr/include/oak/std_oak_header.h"
#include <stdio.h>
#include <unistd.h>
#include <time.h>

struct ns
Expand Down
2 changes: 1 addition & 1 deletion stl/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: ptrcmp.o

%.o: %.c
clang -std=c17 -c -static -O3 -fpic $^ -o $@
clang -std=gnu11 -c -static -O3 -fpic $^ -o $@

clean:
rm *.o

0 comments on commit 879fe6b

Please sign in to comment.