Preserve ${LDFLAGS} inherited from environment for Win32 environments.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@680 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2006-11-08 12:37:05 +00:00
parent a304b7e0e3
commit 1ef6c7ab77
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-11-08 Joerg Wunsch <j@uriah.heep.sax.de>
* configure.ac: Preserve ${LDFLAGS} inherited from environment
for Win32 environments.
2006-11-07 Joerg Wunsch <j@uriah.heep.sax.de> 2006-11-07 Joerg Wunsch <j@uriah.heep.sax.de>
* configure.ac: Don't pretend --enable-doc were the default. * configure.ac: Don't pretend --enable-doc were the default.

View File

@ -193,7 +193,7 @@ case $target in
*-*-mingw32* | *-*-cygwin* | *-*-windows*) *-*-mingw32* | *-*-cygwin* | *-*-windows*)
WINDOWS_DIRS="windows" WINDOWS_DIRS="windows"
CFLAGS="-mno-cygwin -DWIN32NATIVE" CFLAGS="-mno-cygwin -DWIN32NATIVE"
LDFLAGS="-static" LDFLAGS="${LDFLAGS} -static"
;; ;;
esac esac
AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS) AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)