[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-dev
Subject:    [PATCH] Makefile.org GNU ld detection
From:       Chris Majewski <majewski () cs ! ubc ! ca>
Date:       2002-07-31 17:12:58
[Download RAW message or body]

Here's a patch that fixes  the DETECT_GNU_LD code in Makefile.org when
building on a  Sun box with GCC 2.95.2 and  higher.  Yes the timestamp
is   a  few   months   old,   but  the   patch   applies  cleanly   to
openssl-0.9.6e/Makefile.org  Please let me  know if  this is  not your
preferred format for receiving patches. 

-chris

*** Makefile.org.orig	Wed Mar 20 13:37:25 2002
--- Makefile.org	Wed Mar 20 13:42:38 2002
***************
*** 263,267 ****
  	done
  
! DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \
  	collect2=`gcc -print-prog-name=collect2 2>&1` && \
  	[ -n "$$collect2" ] && \
--- 263,267 ----
  	done
  
! DETECT_GNU_LD=`${CC} -print-prog-name=ld` --version 2>&1 | grep '^GNU' >/dev/null 2>&1 && \
  	collect2=`gcc -print-prog-name=collect2 2>&1` && \
  	[ -n "$$collect2" ] && \
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic