[LLVMdev] [PATCH] test-suite/bullet: unbreak linking

Gregory Petrosyan gregory.petrosyan at gmail.com
Tue Jan 5 02:11:07 PST 2010


Eliminate undefined references to powf, sqrtf and friends.

Index: MultiSource/Benchmarks/Bullet/Makefile
===================================================================
--- MultiSource/Benchmarks/Bullet/Makefile	(revision 92512)
+++ MultiSource/Benchmarks/Bullet/Makefile	(working copy)
@@ -1,7 +1,7 @@
 LEVEL = ../../../
 PROG = bullet
 CPPFLAGS += -I$(PROJ_SRC_DIR)/include -DNO_TIME
-LDFLAGS = -lstdc++
+LDFLAGS = -lstdc++ -lm
 
 include $(LEVEL)/Makefile.config



More information about the llvm-dev mailing list