Skip to content

Commit

Permalink
It did trigger GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Apr 5, 2024
1 parent 514e27d commit 2b37404
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 @@ -164,7 +164,7 @@ endif

# These must come before the -Wno- flags
WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-missing-braces
WARNINGS += -Wno-nonnull -Wno-multichar -Wno-int-in-bool-context
WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-multichar -Wno-int-in-bool-context

# Only add this flag if the compiler supports it
ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 2> $(NULL); echo $$?),0)
Expand Down

0 comments on commit 2b37404

Please sign in to comment.