gentoo-ebuilds/sys-process/atop/files/atop-2.11.0-respect-opt.patch
Sam James 673be85940
sys-process/atop: add descriptions to patches
I mistakenly left in a placeholder. Pointed out by NHO.

Signed-off-by: Sam James <sam@gentoo.org>
2025-02-15 21:02:52 +00:00

12 lines
664 B
Diff

Don't force -O2.
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ PMPATH2 = /usr/lib64/pm-utils/sleep.d
PMPATHD = /usr/lib/systemd/system-sleep
PKG_CONFIG ?= pkg-config
-CFLAGS += -O2 -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security # -DNOPERFEVENT # -DHTTPSTATS
+CFLAGS += -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security # -DNOPERFEVENT # -DHTTPSTATS
LDFLAGS += $(shell $(PKG_CONFIG) --libs glib-2.0)
OBJMOD0 = version.o
OBJMOD1 = various.o deviate.o procdbase.o