Skip to content

Commit

Permalink
removed gcc dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro-Salerno committed Oct 17, 2024
1 parent 01d51c9 commit 19275ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ info:
@echo Compiling for $(HTMC_OS)

$(EXEC): obj $(OBJ)
$(CC) -flto $(OBJ) -o $(EXEC)
$(CC) -flto -static -static-libgcc $(OBJ) -o $(EXEC)

$(LIB): obj $(RELOC_OBJ)
ar rcs $(LIB) $(RELOC_OBJ)

$(CGI_EXEC): obj
cd cgi-ws && go build -o ../$(CGI_EXEC)
cd cgi-ws && CGO_ENABLED=0 go build -o ../$(CGI_EXEC)

obj/%.o: src/%.c
@mkdir -p $(@D)
Expand Down

0 comments on commit 19275ba

Please sign in to comment.