use fixed SRCREV 1e99787f3387d3dd1e6167af73597674bf8fe37d.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / autofs / autofs-4.1.4 / 037_let_debian_rules_decide_on_CFLAGS.patch
1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## 037_let_debian_rules_decide_on_CFLAGS.dpatch
3 ##
4 ## DP: No description.
5
6 @DPATCH@
7
8 diff -Naur .B/Makefile.rules .A/Makefile.rules
9 --- .B/Makefile.rules   2004-01-29 16:01:22.000000000 +0000
10 +++ .A/Makefile.rules   2007-01-07 21:36:35.000000000 +0000
11 @@ -17,15 +17,15 @@
12  # Compilers, linkers and flags
13  # The STRIP defined here *must not* remove any dynamic-loading symbols
14  
15 -ifdef DEBUG
16 -CFLAGS    = -O2 -g -DDEBUG
17 -LDFLAGS   = -g
18 +#ifdef DEBUG
19 +#CFLAGS    = -O2 -g -DDEBUG
20 +#LDFLAGS   = -g
21  STRIP     = :
22 -else
23 -CFLAGS    = -O3 -fomit-frame-pointer -Wall
24 -LDFLAGS   = -s
25 -STRIP     = strip --strip-debug
26 -endif
27 +#else
28 +#CFLAGS    = -O3 -fomit-frame-pointer -Wall
29 +#LDFLAGS   = -s
30 +#STRIP     = strip --strip-debug
31 +#endif
32  
33  CC        = gcc
34  CXX       = g++