]> TLD Linux GIT Repositories - packages/systemtap.git/blob - systemtap-no-werror.patch
- merged 3.2 from PLD, added rpm 4.5 fix
[packages/systemtap.git] / systemtap-no-werror.patch
1 --- systemtap-3.0/configure.ac.orig     2016-04-05 20:34:37.752195113 +0200
2 +++ systemtap-3.0/configure.ac  2016-04-05 20:44:11.672171031 +0200
3 @@ -93,8 +93,8 @@
4  AS_IF([test "x$enable_ssp" != xno],[
5     save_CFLAGS="$CFLAGS"
6     save_CXXFLAGS="$CXXFLAGS"
7 -   CXXFLAGS="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
8 -   CFLAGS="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9 +   CXXFLAGS="$CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10 +   CFLAGS="$CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
11     AC_COMPILE_IFELSE([AC_LANG_SOURCE([int something ();])], [
12         AC_MSG_NOTICE([Compiling with gcc -fstack-protector-all et al.])
13         CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
14 --- systemtap-3.0/Makefile.am.orig      2016-04-05 20:44:51.275502703 +0200
15 +++ systemtap-3.0/Makefile.am   2016-04-05 20:51:00.125487222 +0200
16 @@ -14,8 +14,8 @@
17               -DLOCALEDIR='"$(localedir)"' \
18               -I$(srcdir)/includes -I$(builddir)/includes/sys
19  
20 -AM_CFLAGS = -D_GNU_SOURCE -fexceptions -Wall -Wextra -Werror -Wunused -Wformat=2 -W
21 -AM_CXXFLAGS = -Wall -Wextra -Werror
22 +AM_CFLAGS = -D_GNU_SOURCE -fexceptions -Wall -Wextra -Wunused -Wformat=2 -W
23 +AM_CXXFLAGS = -Wall -Wextra
24  
25  bin_SCRIPTS = stap-report
26  pkglibexec_SCRIPTS = stap-env