components/openexr/patches/002-configure.patch
changeset 7964 d9801318ed3d
parent 7963 18067c41cdb2
equal deleted inserted replaced
7963:18067c41cdb2 7964:d9801318ed3d
     1 Modification for configure file.
       
     2 Will not send upstream.
       
     3 
       
     4 --- configure	2016-11-17 11:11:01.452074740 +0000
       
     5 +++ configure	2016-11-23 11:17:14.362287357 +0000
       
     6 @@ -10384,7 +10384,7 @@
       
     7  	  ;;
       
     8  	esac
       
     9        fi
       
    10 -      hardcode_libdir_flag_spec='-R$libdir'
       
    11 +      hardcode_libdir_flag_spec=''
       
    12        hardcode_shlibpath_var=no
       
    13        case $host_os in
       
    14        solaris2.[0-5] | solaris2.[0-5].*) ;;
       
    15 @@ -13607,7 +13607,7 @@
       
    16  	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
       
    17  	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
       
    18  
       
    19 -	    hardcode_libdir_flag_spec_CXX='-R$libdir'
       
    20 +	    hardcode_libdir_flag_spec_CXX=''
       
    21  	    hardcode_shlibpath_var_CXX=no
       
    22  	    case $host_os in
       
    23  	      solaris2.[0-5] | solaris2.[0-5].*) ;;
       
    24 @@ -17518,7 +17518,7 @@
       
    25  { $as_echo "$as_me:$LINENO: checking for gcc optimization flags" >&5
       
    26  $as_echo_n "checking for gcc optimization flags... " >&6; }
       
    27  old_cflags=$CFLAGS
       
    28 -CFLAGS="$CFLAGS -pipe"
       
    29 +CFLAGS="$CFLAGS"
       
    30  cat >conftest.$ac_ext <<_ACEOF
       
    31  /* confdefs.h.  */
       
    32  _ACEOF
       
    33 @@ -17552,7 +17552,7 @@
       
    34  	 test -z "$ac_c_werror_flag" ||
       
    35  	 test ! -s conftest.err
       
    36         } && test -s conftest.$ac_objext; then
       
    37 -   EXTRA_OPT_CFLAGS="-pipe"
       
    38 +   EXTRA_OPT_CFLAGS=""
       
    39  else
       
    40    $as_echo "$as_me: failed program was:" >&5
       
    41  sed 's/^/| /' conftest.$ac_ext >&5