Skip to content

Commit

Permalink
legiond: use clang as compiler when available
Browse files Browse the repository at this point in the history
Some distro like fedora and Ubuntu have problem compiling with gcc (making the deb/rpm building fail)
  • Loading branch information
MrDuartePT authored Apr 8, 2024
1 parent a11ab9b commit f6288b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extra/service/legiond/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CC ?= clang

CFLAGS ?= -O2
CFLAGS += -Wall -linih

Expand Down

0 comments on commit f6288b4

Please sign in to comment.