summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/Makefile
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-04-01 18:40:27 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-04-01 18:52:02 +0200
commit4edffe026e387f6a038d7538577bf5ecc168f223 (patch)
tree7d0d21765a5ceea2aa3f2fbf20f6ae0957cba41e /src/gallium/auxiliary/Makefile
parent8f38135e283a0e81510fb40fb9e0c918436fa5f1 (diff)
gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)
NOTE: this commit will cause Gallium to fail to build on any compiler except GCC, the Microsoft C compiler and compatible compilers that claim to be one of those. This commit removes the u_gctors.cpp mechanism, in favor of using compiler-specific syntax to add global constructors from C files. This solves the problem of u_gctors.o not being pulled from static libraries and avoids using C++. However, it needs compiler-specific support for every compiler. The Microsoft C compiler support has not been tested.
Diffstat (limited to 'src/gallium/auxiliary/Makefile')
-rw-r--r--src/gallium/auxiliary/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile
index 14c0fb1840..1db4aaa439 100644
--- a/src/gallium/auxiliary/Makefile
+++ b/src/gallium/auxiliary/Makefile
@@ -139,9 +139,6 @@ C_SOURCES = \
#vl/vl_csc.c \
#vl/vl_shader_build.c \
-CPP_SOURCES = \
- util/u_gctors.cpp
-
GALLIVM_SOURCES = \
gallivm/lp_bld_alpha.c \
gallivm/lp_bld_arit.c \