radeon/llvm: Add $(LLVM_LDFLAGS) to the loader linker flags
authorTom Stellard <thomas.stellard@amd.com>
Thu, 2 Aug 2012 19:37:02 +0000 (19:37 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 2 Aug 2012 20:12:11 +0000 (20:12 +0000)
src/gallium/drivers/radeon/Makefile

index ced202f331523edd63e33a1ac8752afafcb39fab..424299f5ff23f02a04bbdcadb51eaeff13bface2 100644 (file)
@@ -70,4 +70,4 @@ AMDGPUGenDFAPacketizer.inc: *.td
 
 LOADER_LIBS=$(shell llvm-config --libs bitreader asmparser)
 loader: loader.o libradeon.a
-       gcc -o loader -L/usr/local/lib $(LDFLAGS) loader.o libradeon.a $(LLVM_LIBS) $(LOADER_LIBS) -lpthread -ldl -lstdc++ -lm
+       gcc -o loader $(LLVM_LDFLAGS) -L/usr/local/lib $(LDFLAGS) loader.o libradeon.a $(LLVM_LIBS) $(LOADER_LIBS) -lpthread -ldl -lstdc++ -lm