[hackers] [libgrapheme] Reorder CFLAGS || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Tue, 14 Dec 2021 13:58:00 +0100 (CET)

commit b5b82936c9a8231467ff4481626d3b710940fb03
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Tue Dec 14 13:53:05 2021 +0100
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Tue Dec 14 13:57:50 2021 +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_AT_frign.de>

diff --git a/config.mk b/config.mk
index 969a0a2..0c62ee1 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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
Received on Tue Dec 14 2021 - 13:58:00 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 14 2021 - 14:00:33 CET