From c68a82d8fc423e43f95ecec4c53acebcfbb0390c Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 15 Jan 2011 13:21:32 +0900 Subject: [PATCH] Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer. * builds/unix/configure.raw: Some important options that included in CFLAGS but not in LDFLAGS are copied to LDFLAGS, but the last option in CFLAGS was not checked. --- ChangeLog | 8 ++++++++ builds/unix/configure.raw | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e5b6d3648..0d5405994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-01-15 suzuki toshiya + + Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer. + + * builds/unix/configure.raw: Some important options that + included in CFLAGS but not in LDFLAGS are copied to + LDFLAGS, but the last option in CFLAGS was not checked. + 2011-01-13 Werner Lemberg [raster] Add undocumented drop-out rule to the other bbox side also. diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index cb10ef481..a22183f37 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -250,7 +250,7 @@ fi save_config_args=$* set dummy ${CFLAGS} i=1 -while test $i -lt $# +while test $i -le $# do c=$1