Content-Type: multipart/mixed; boundary="===============8611202641325357068==" MIME-Version: 1.0 From: Naresh Bhat Subject: [Devel] [PATCH 1/2] Fix config so it will compile with GCC versions that do not have -m32/-m64 Date: Wed, 08 May 2013 19:23:35 +0530 Message-ID: <1368021217-19585-2-git-send-email-naresh.bhat@linaro.org> In-Reply-To: 1368021217-19585-1-git-send-email-naresh.bhat@linaro.org List-ID: To: devel@acpica.org --===============8611202641325357068== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: Naresh Bhat Signed-off-by: Al Stone While compiling the ACPI test suite on ARM architecture got the following c= ompilation error . ... .... Copy intermediate file: `obj32/prparserparse.h' -> `obj32/prparser.y.h' gcc -c -m32 -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_CO= MPILER -I../../../source/compiler -Iobj32 -Wall -Werror -oobj32/as gcc: error: unrecognized command line option '-m32' make[1]: *** [obj32/aslcompilerlex.o] Error 1 .... ..... This patch fix config so it will compile with GCC versions that do not have= -m32/-m64 --- generate/unix/Makefile.config | 1 - 1 file changed, 1 deletion(-) diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config index 65242e0..fcda7a6 100644 --- a/generate/unix/Makefile.config +++ b/generate/unix/Makefile.config @@ -41,7 +41,6 @@ CC =3D gcc # OBJDIR =3D obj$(BITS) BINDIR =3D bin$(BITS) -BITSFLAG =3D -m$(BITS) COMPILEOBJ =3D $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $< LINKPROG =3D $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) INSTALLDIR =3D /usr/bin -- = 1.7.9.5 --===============8611202641325357068==--