diff options
-rw-r--r-- | sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch | 4 | ||||
-rw-r--r-- | sys-process/atop/files/atop-2.10.0-respect-opt.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch b/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch index 483506043490..edfa88c7a889 100644 --- a/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch +++ b/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch @@ -7,8 +7,8 @@ -CFLAGS += -O2 -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) +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 -+LDFLAGS += $(shell ${PKG_CONFIG} --libs glib-2.0) ++CFLAGS += -O2 -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 OBJMOD2 = acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o diff --git a/sys-process/atop/files/atop-2.10.0-respect-opt.patch b/sys-process/atop/files/atop-2.10.0-respect-opt.patch index 5a55e6f2f835..2acb4ec53f51 100644 --- a/sys-process/atop/files/atop-2.10.0-respect-opt.patch +++ b/sys-process/atop/files/atop-2.10.0-respect-opt.patch @@ -5,8 +5,8 @@ Don't force -O2. 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 +-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 |