Skip to content
Browse files

-ldl flag was removed from pathcc config for freebsd

  • Loading branch information...
1 parent 8e0fb78 commit 909bbeec06d6a56c5749a36585a0a007eb73f8ec Alexander Esilevich committed Mar 2, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 etc/config/pathcc.config
View
6 etc/config/pathcc.config
@@ -84,9 +84,13 @@ ifeq ($(OSNAME),HP-UX)
endif
CXXFLAGS = -pedantic -nostdinc++ -fPIC
-LDLIBS += -lcxxrt -leh -ldl
+LDLIBS += -lcxxrt -leh
LDFLAGS += -nostdlib++ -fPIC -pthread
+#ifneq ($(OSNAME),FreeBSD)
+# LDLIBS += -ldl
+#endif
+
ifeq ($(OSNAME),IRIX64)
# disable ld warnings about libs not used to resolve any symbols
LDFLAGS += -Wl,-woff,84

0 comments on commit 909bbee

Please sign in to comment.
Something went wrong with that request. Please try again.