Files
gentoo/app-admin/sysstat/files/sysstat-12.6.2-defs_and_flags.patch
2024-04-06 00:36:00 +01:00

19 lines
297 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -94,10 +94,14 @@
endif
# Compiler flags
+ifndef CPPFLAGS
+CPPFLAGS = @CPPFLAGS@
+endif
+CPPFLAGS += @DEFS@
ifndef CFLAGS
CFLAGS = @CFLAGS@
endif
-CFLAGS += -Wall -Wstrict-prototypes -pipe -O2
+CFLAGS += $(CPPFLAGS)
ifndef DFLAGS
DFLAGS = @DFLAGS@