Mesa (mesa_7_5_branch): Use CFLAGS as HOST_CFLAGS by default
Dan Nicholson
dbn at kemper.freedesktop.org
Sat Sep 12 16:36:52 UTC 2009
Module: Mesa
Branch: mesa_7_5_branch
Commit: 9c8b69302c2509d9ec8d6f87b7d1c34b6e215227
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c8b69302c2509d9ec8d6f87b7d1c34b6e215227
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Sat Sep 12 09:27:01 2009 -0700
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 <dbn.lists at gmail.com>
---
configs/default | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configs/default b/configs/default
index 773a620..7547703 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
More information about the mesa-commit
mailing list