Pass all flags to the underlying make when --build is passed to acprep.

This commit is contained in:
John Wiegley 2008-08-07 05:53:41 -04:00
parent f31f9866db
commit 26e121dde0

2
acprep
View file

@ -295,6 +295,6 @@ fi
# options.
if [ $DO_BUILD = true ]; then
echo "make ARCHFLAGS=\"$ARCHFLAGS\" \"$@\"" > make.sh
echo "make ARCHFLAGS=\"$ARCHFLAGS\" CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\" CXXFLAGS=\"$CXXFLAGS\" DISTCHECK_CONFIGURE_FLAGS=\"--disable-dependency-tracking\" $@" > make.sh
sh -x make.sh
fi