Modify compilation flags:

- Remove "-s" flag
- Change stack protector mode from "strong" to "all"
- Change optimization level from "-Os" to "-O2"
This commit is contained in:
Tiiffi
2024-11-07 14:04:48 +02:00
parent e96b2eff6e
commit fa25cde79c
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ Only dependency is C library and POSIX getopt support.
Compiling with GCC or CLANG:
cc -std=gnu99 -Wpedantic -Wall -Wextra -Os -s -o mcrcon mcrcon.c
cc -std=gnu99 -Wpedantic -Wall -Wextra -O2 -o mcrcon mcrcon.c
Note: on Windows remember to link with winsock by adding `-lws2_32` to your compiler command line.