From: Jonathan Nieder Date: Tue, 30 Aug 2011 08:33:33 GMT Subject: Re: [PATCH v3] Makefile: Improve compiler header dependency check Message-ID: <20110830083311.GB23643@elie.gateway.2wire.net> In-Reply-To: <1314692855-75113-1-git-send-email-davvid@gmail.com> David Aguilar wrote: > The Makefile enables CHECK_HEADER_DEPENDENCIES when the > compiler supports generating header dependencies. > Make the check use the same flags as the invocation > to avoid a false positive when user-configured compiler > flags contain incompatible options. > > For example, without this patch, trying to build universal > binaries on a Mac using CFLAGS='-arch i386 -arch x86_64' > produces: > > gcc-4.2: -E, -S, -save-temps and -M options are > not allowed with multiple -arch flags > > Make the check use the same flags as the invocation to avoid > false positives when user-configured compiler flags contain > incompatible options. What happened with this third paragraph? It seems to repeat the first one...