From: Dan Nicholson Date: Sat, 12 Sep 2009 16:27:01 +0000 (-0700) Subject: Use CFLAGS as HOST_CFLAGS by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c8b69302c2509d9ec8d6f87b7d1c34b6e215227;p=mesa.git Use CFLAGS as HOST_CFLAGS by default Unless we're cross compiling, the HOST_CFLAGS should be the same as the normal CFLAGS. This allows the x86 and x86_64 asm to be built correctly with a native compiler using -m32/-m64. Signed-off-by: Dan Nicholson --- diff --git a/configs/default b/configs/default index 773a6204d3a..7547703c560 100644 --- a/configs/default +++ b/configs/default @@ -23,6 +23,7 @@ HOST_CC = $(CC) CFLAGS = -O CXXFLAGS = -O LDFLAGS = +HOST_CFLAGS = $(CFLAGS) GLU_CFLAGS = # Compiler for building demos/tests/etc