components/ilmbase/patches/001-configure.patch
changeset 7964 d9801318ed3d
parent 7963 18067c41cdb2
equal deleted inserted replaced
7963:18067c41cdb2 7964:d9801318ed3d
     1 Append -pipe to CFLAGS.
       
     2 Will not send upstream.
       
     3 
       
     4 --- configure	2016-11-14 16:35:20.860772554 +0000
       
     5 +++ configure	2016-11-14 16:35:42.301383478 +0000
       
     6 @@ -17146,7 +17146,7 @@
       
     7  { $as_echo "$as_me:$LINENO: checking for gcc optimization flags" >&5
       
     8  $as_echo_n "checking for gcc optimization flags... " >&6; }
       
     9  old_cflags=$CFLAGS
       
    10 -CFLAGS="$CFLAGS -pipe"
       
    11 +CFLAGS="$CFLAGS"
       
    12  cat >conftest.$ac_ext <<_ACEOF
       
    13  /* confdefs.h.  */
       
    14  _ACEOF
       
    15 @@ -17180,7 +17180,7 @@
       
    16  	 test -z "$ac_c_werror_flag" ||
       
    17  	 test ! -s conftest.err
       
    18         } && test -s conftest.$ac_objext; then
       
    19 -   EXTRA_OPT_CFLAGS="-pipe"
       
    20 +   EXTRA_OPT_CFLAGS=""
       
    21  else
       
    22    $as_echo "$as_me: failed program was:" >&5
       
    23  sed 's/^/| /' conftest.$ac_ext >&5