From: Slawomir Bochenski <[email protected]>
This will make maintainer mode work on less advanced shells, the ones
that do not support appending.
---
acinclude.m4 | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 329c6a9..ac29c2b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -15,13 +15,13 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then
- CFLAGS+=" -Werror -Wextra"
- CFLAGS+=" -Wno-unused-parameter"
- CFLAGS+=" -Wno-missing-field-initializers"
- CFLAGS+=" -Wdeclaration-after-statement"
- CFLAGS+=" -Wmissing-declarations"
- CFLAGS+=" -Wredundant-decls"
- CFLAGS+=" -Wcast-align"
- CFLAGS+=" -DG_DISABLE_DEPRECATED"
+ CFLAGS="$CFLAGS -Werror -Wextra"
+ CFLAGS="$CFLAGS -Wno-unused-parameter"
+ CFLAGS="$CFLAGS -Wno-missing-field-initializers"
+ CFLAGS="$CFLAGS -Wdeclaration-after-statement"
+ CFLAGS="$CFLAGS -Wmissing-declarations"
+ CFLAGS="$CFLAGS -Wredundant-decls"
+ CFLAGS="$CFLAGS -Wcast-align"
+ CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
fi
])
--
1.7.1
Hi Slawek,
On Fri, Feb 25, 2011, [email protected] wrote:
> From: Slawomir Bochenski <[email protected]>
>
> This will make maintainer mode work on less advanced shells, the ones
> that do not support appending.
> ---
> acinclude.m4 | 16 ++++++++--------
> 1 files changed, 8 insertions(+), 8 deletions(-)
Pushed upstream. Thanks. I also went ahead and pushed a similar patch
for BlueZ.
Johan