summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authoranonymous <local@localhost>2010-07-02 18:29:20 +0700
committeranonymous <local@localhost>2010-07-02 22:14:18 +0700
commit2c08f2cdacd5f35cadc9b41a8aee9a28d14da939 (patch)
tree8daa843da4aba10dea8edc358cef13ab443e93bf /test/Makefile
parent60e0a04c5096ca0b33066ac73e2424491ef04cb4 (diff)
downloadlibcxxrt-2c08f2cdacd5f35cadc9b41a8aee9a28d14da939.tar.gz
libcxxrt-2c08f2cdacd5f35cadc9b41a8aee9a28d14da939.tar.bz2
libcxxrt-2c08f2cdacd5f35cadc9b41a8aee9a28d14da939.tar.xz
Fixes in test
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index fdbdc8f..84f573a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,4 @@
-TEST_OBJECTS = test_typeinfo.o test.o test_exception.o new.o test_guard.o
+TEST_OBJECTS = test_typeinfo.o test.o test_exception.o test_guard.o
# This library implements exception handling, so make sure that the compiler
# emits the correct code
@@ -12,12 +12,12 @@ CXXFLAGS += -Wall -pedantic -g
# Find the unwind.h header installed from ports
CPPFLAGS += -I/usr/local/include
-LDFLAGS += -L/usr/local/lib -L. -lpthread -fexceptions -lcxxabi
+LDFLAGS += -L/usr/local/lib -L. -lpthread -fexceptions
PRODUCTS = test libcxxabi.so.1 system_test
test: $(TEST_OBJECTS) libcxxabi.so library
- @gcc $(CPPFLAGS) $(LDFLAGS) -o test $(TEST_OBJECTS)
+ @gcc $(CPPFLAGS) $(LDFLAGS) -o test $(TEST_OBJECTS) -lcxxabi -ldl
library:
@cd ../src && $(MAKE)