From 2f9a0044fa2ebd499446abdaaead20b044a682f4 Mon Sep 17 00:00:00 2001 From: Alexandre Demers Date: Thu, 10 Jan 2013 23:26:14 -0500 Subject: Fix llvmpipe crosscompilation. [PATCH] Fixes bug 54626: it makes sure architecture is correctly pushed to the linker when crosscompiling. On 64bit, it makes sure -m32 is used when building 32bit libraries. --- src/gallium/drivers/llvmpipe/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile index 0cd9056..051fb19 100644 --- a/src/gallium/drivers/llvmpipe/Makefile +++ b/src/gallium/drivers/llvmpipe/Makefile @@ -62,7 +62,7 @@ include ../../Makefile.template PROGS_DEPS := ../../auxiliary/libgallium.a -LDFLAGS += $(LLVM_LDFLAGS) +LDFLAGS += $(LLVM_LDFLAGS) $(CXXFLAGS) LIBS += -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS) $(GL_LIB_DEPS) LD=$(CXX) -- 1.8.1