summaryrefslogtreecommitdiff
path: root/configs/linux-solo
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-05-26 03:47:34 +0000
committerDave Airlie <airliedfreedesktop.org>2005-05-26 03:47:34 +0000
commit978d2fda3c67ff1f32d457c462304517795d59a5 (patch)
treee7ebe3161e49f34aea292147eede2185c26bbf17 /configs/linux-solo
parentae516306b4df5d4a2a4bb67c8e705aa67891681a (diff)
make linux-solo and linux-solo-x86 config files hierarchical
Diffstat (limited to 'configs/linux-solo')
-rw-r--r--configs/linux-solo18
1 files changed, 15 insertions, 3 deletions
diff --git a/configs/linux-solo b/configs/linux-solo
index cd9d72050e..aeb84fea9c 100644
--- a/configs/linux-solo
+++ b/configs/linux-solo
@@ -8,11 +8,23 @@ CONFIG_NAME = linux-solo
CC = gcc
CXX = g++
-DEFINES = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC
+WARN_FLAGS = -Wall -Wundef
+OPT_FLAGS = -O3 -g
+PIC_FLAGS = -fPIC
+
+# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
+ARCH_FLAGS ?=
-CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
+DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
+ -D_BSD_SOURCE -D_GNU_SOURCE \
+ -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC
-CXXFLAGS = $(DEFINES) -Wall -O3 -ansi -pedantic -fPIC
+CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
+ $(ASM_FLAGS) -std=c99 -ffast-math
+
+CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
+
+ASM_SOURCES =
# Library/program dependencies
DRI_LIB_DEPS = -lm -lpthread -lexpat -ldl -L$(LIB_DIR) -lEGL -l$(GL_LIB)