aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-25 21:57:48 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-25 22:07:11 +0200
commitdbdaac757fb9217e4b28afc05f1fe523f68d64d3 (patch)
tree4fb9c571ada0965502ca74fd345a0a8e2f302f34 /Makefile
parent662d6e1c144cbb691bc208f75781ba9fe365c2e5 (diff)
Makefile: Replace -Og with -O1v0.1.0-rc6v0.1.0
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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