SHA256
5
0
forked from pool/atop
Files
atop/atop-makefile.patch
Malcolm Lewis 6a0a4891a4 Accepting request 1295989 from home:malcolmlewis:branches:utilities
- Update to 2.12.0: 
  * Add PSI bar graphs for CPU, memory and disks.
  * Improved handling of raw log files.
  * Support of parallel output streams.
  * Security-related improvements.
  * Modified handling of UID/GID.
  * Recognize fake NUMA.
  * Consistent highlighting of current sort criterium.
  * Network interface errors added to output of flags -P and -J.
  * Branch to end of raw log file by pressing key 'Z'.
  * Remove double wrefresh call for memory graph that caused screen
    flashing in bar graph mode.
  * Improved sanity check for number of threads versus number of
    processes.
  * Various other bug solutions.
  * The format of the raw file is compatible with version 2.11.
- Rebase atop-makefile.patch.

OBS-URL: https://build.opensuse.org/request/show/1295989
OBS-URL: https://build.opensuse.org/package/show/utilities/atop?expand=0&rev=31
2025-07-31 13:20:19 +00:00

13 lines
658 B
Diff

diff -Naur a/Makefile b/Makefile
--- a/Makefile 2025-06-14 03:18:40.000000000 -0500
+++ b/Makefile 2025-07-27 16:41:55.970428635 -0500
@@ -22,7 +22,7 @@
PKG_CONFIG ?= pkg-config
-override CFLAGS := -O2 -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wmissing-prototypes -Wmissing-declarations -Wformat-security $(CFLAGS) # -DNOPERFEVENT # -DHTTPSTATS
+CFLAGS := $(OPTFLAGS) -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wmissing-prototypes -Wmissing-declarations -Wformat-security $(CFLAGS) # -DNOPERFEVENT # -DHTTPSTATS
CC_CHECK := $(shell echo | $(CC) -dM -E - | grep -q __clang__ && echo clang || echo gcc)
ifeq ($(CC_CHECK),gcc)