From dbdaac757fb9217e4b28afc05f1fe523f68d64d3 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 25 Oct 2023 21:57:48 +0200 Subject: [PATCH] Makefile: Replace -Og with -O1 Only the latter is defined by POSIX.1-2008. Even if there are still some non-portable flags defined by CFLAGS, it is a good idea to reduce them. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f38b2cd..9069f27 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ datarootdir = $(prefix)/share mandir = $(datarootdir)/man libdir = $(exec_prefix)/lib pkgcfgdir = $(libdir)/pkgconfig -O = -Og +O = -O1 CDEFS = -D_FILE_OFFSET_BITS=64 # Required for large file support on 32-bit. CFLAGS = $(O) $(CDEFS) -g -Iinclude -Idynstr/include -fPIC -MD -MF $(@:.o=.d) LDFLAGS = -shared