2
1

procps-remove-flags.patch 941 B

1234567891011121314151617181920212223242526
  1. diff -u procps-3.2.5/Makefile procps-3.2.5-patched/Makefile
  2. --- procps-3.2.5/Makefile 2005-01-25 22:55:26.000000000 -0600
  3. +++ procps-3.2.5-patched/Makefile 2007-07-05 23:09:24.251423681 -0500
  4. @@ -70,9 +70,7 @@
  5. CURSES := -lncurses
  6. # Preprocessor flags.
  7. -PKG_CPPFLAGS := -D_GNU_SOURCE -I proc
  8. -CPPFLAGS := -I/usr/include/ncurses
  9. -ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
  10. +ALL_CPPFLAGS := -D_GNU_SOURCE -I proc
  11. # Left out -Wconversion due to noise in glibc headers.
  12. # Left out -Wunreachable-code and -Wdisabled-optimization
  13. @@ -91,11 +89,9 @@
  14. -Wstrict-prototypes -Wmissing-prototypes
  15. # Note that some stuff below is conditional on CFLAGS containing
  16. # an option that starts with "-g". (-g, -g2, -g3, -ggdb, etc.)
  17. -CFLAGS := -O2 -s
  18. ALL_CFLAGS := $(PKG_CFLAGS) $(CFLAGS)
  19. PKG_LDFLAGS := -Wl,-warn-common
  20. -LDFLAGS :=
  21. ALL_LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)
  22. ############ Add some extra flags if gcc allows