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
8 -PKG_CPPFLAGS := -D_GNU_SOURCE -I proc
9 -CPPFLAGS := -I/usr/include/ncurses
10 -ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
11 +ALL_CPPFLAGS := -D_GNU_SOURCE -I proc
13 # Left out -Wconversion due to noise in glibc headers.
14 # Left out -Wunreachable-code and -Wdisabled-optimization
16 -Wstrict-prototypes -Wmissing-prototypes
17 # Note that some stuff below is conditional on CFLAGS containing
18 # an option that starts with "-g". (-g, -g2, -g3, -ggdb, etc.)
20 ALL_CFLAGS := $(PKG_CFLAGS) $(CFLAGS)
22 PKG_LDFLAGS := -Wl,-warn-common
24 ALL_LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)
26 ############ Add some extra flags if gcc allows