summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-09-12 09:27:01 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-09-12 09:35:43 -0700
commit9c8b69302c2509d9ec8d6f87b7d1c34b6e215227 (patch)
treedd8dabceaddeec3723d9819b1d0bb119765f39b8
parent0fa1692f14f4a64b045bc3f26a5ab401d682b118 (diff)
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@gmail.com>
-rw-r--r--configs/default1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/default b/configs/default
index 773a6204d3..7547703c56 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