Skip to content

Commit

Permalink
fix _FORTIFY_SOURCE redefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Mar 21, 2024
1 parent 706757d commit 59606cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PRINT_UUIDS ?= no
DIALECT = -std=c11
CFLAGS = $(DIALECT) -W -D_GNU_SOURCE -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2
CFLAGS += -DMODES_READSB_VERSION=\"$(READSB_VERSION)\"
CFLAGS += -Wdate-time -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security
CFLAGS += -Wdate-time -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security

LIBS = -pthread -lpthread -lm -lrt -lzstd

Expand Down

0 comments on commit 59606cb

Please sign in to comment.