/[packages]/cauldron/rpm/current/SOURCES/fix_stack_protector_check.patch
ViewVC logotype

Contents of /cauldron/rpm/current/SOURCES/fix_stack_protector_check.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 343 - (show annotations) (download)
Sat Jan 8 00:05:19 2011 UTC (13 years, 2 months ago) by tmb
File size: 739 byte(s)
imported package rpm
1 bogus check: -fstack-protector generates a warning and not an error if it's not supported
2 ---
3 configure.ac | 2 1 + 1 - 0 !
4 1 file changed, 1 insertion(+), 1 deletion(-)
5
6 Index: rpm-4.6.0/configure.ac
7 ===================================================================
8 --- rpm-4.6.0.orig/configure.ac 2009-04-08 08:16:22.000000000 -0400
9 +++ rpm-4.6.0/configure.ac 2009-04-08 08:22:37.000000000 -0400
10 @@ -41,7 +41,7 @@ if test "$GCC" = yes; then
11 old_cflags=$CFLAGS
12 echo
13 for flag in $cflags_to_try; do
14 - CFLAGS="$CFLAGS $flag"
15 + CFLAGS="$CFLAGS $flag -Werror"
16 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[return 0;]])],[
17 echo " $flag"
18 RPMCFLAGS="$RPMCFLAGS $flag"

  ViewVC Help
Powered by ViewVC 1.1.30