commit b5b82936c9a8231467ff4481626d3b710940fb03
parent 195946ab880bddbf6296fe47da5152163a126022
Author: Laslo Hunhold <dev@frign.de>
Date: Tue, 14 Dec 2021 13:53:05 +0100
Reorder CFLAGS
The important "-Os" and "-fPIC" flags come first, followed by the
"optional" warning flags.
The flag "-pedantic" is a bit confusing, as it simply is a warning-flag.
The equivalent "-Wpedantic" indicates this better.
Signed-off-by: Laslo Hunhold <dev@frign.de>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -11,7 +11,7 @@ MANPREFIX = $(PREFIX)/share/man
# flags
CPPFLAGS = -D_DEFAULT_SOURCE
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os -fPIC
+CFLAGS = -std=c99 -Os -fPIC -Wall -Wextra -Wpedantic
LDFLAGS = -s
# tools