Skip to content

Commit

Permalink
bugfix: Makefile works around clangs c99 on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
guberathome committed Dec 31, 2024
1 parent a678dd9 commit 51e7d36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platforms/unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ EMBCCOPTS = -DPF_STATIC_DIC #-DPF_NO_FILEIO
ifeq "$(UNAME)" "Darwin"
CC=clang
endif
# c99 on FreeBSD does not accept '-x' option
ifeq "$(UNAME)" "FreeBSD"
CC=clang
endif

#######################################
PFINCLUDES = pf_all.h pf_cglue.h pf_clib.h pf_core.h pf_float.h \
Expand Down

0 comments on commit 51e7d36

Please sign in to comment.