bump version
[buildroot.git] / package / procps / procps-remove-flags.patch
blobcb4dc56d58842469c4d8a8fac8c63c34d0b59563
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
7 # Preprocessor flags.
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
15 @@ -91,11 +89,9 @@
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.)
19 -CFLAGS := -O2 -s
20 ALL_CFLAGS := $(PKG_CFLAGS) $(CFLAGS)
22 PKG_LDFLAGS := -Wl,-warn-common
23 -LDFLAGS :=
24 ALL_LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)
26 ############ Add some extra flags if gcc allows