[llvm-commits] CVS: llvm/Makefile.FreeBSD Makefile.Linux Makefile.SunOS

Brian Gaeke gaeke at cs.uiuc.edu
Tue Jun 17 15:09:04 PDT 2003


Changes in directory llvm:

Makefile.FreeBSD updated: 1.1 -> 1.2
Makefile.Linux updated: 1.10 -> 1.11
Makefile.SunOS updated: 1.9 -> 1.10

---
Log message:

Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.


---
Diffs of the changes:

Index: llvm/Makefile.FreeBSD
diff -u llvm/Makefile.FreeBSD:1.1 llvm/Makefile.FreeBSD:1.2
--- llvm/Makefile.FreeBSD:1.1	Mon Jun 16 17:01:55 2003
+++ llvm/Makefile.FreeBSD	Tue Jun 17 15:08:02 2003
@@ -22,6 +22,9 @@
 # stripped from the resultant binary.
 PLATFORMSTRIPOPTS := -Wl,-x
 
+# PLATFORMLIBDL - FreeBSD does not have libdl; dlsym() is in libc.
+PLATFORMLIBDL := 
+
 # Path to location for LLVM front-end for this architecture.  This setting may
 # be overriden by the Makefile.config option, and should not override it if set.
 # (Using Linux GCC front-end for now.)


Index: llvm/Makefile.Linux
diff -u llvm/Makefile.Linux:1.10 llvm/Makefile.Linux:1.11
--- llvm/Makefile.Linux:1.10	Sun May 25 11:52:41 2003
+++ llvm/Makefile.Linux	Tue Jun 17 15:08:02 2003
@@ -22,6 +22,9 @@
 # stripped from the resultant binary.
 PLATFORMSTRIPOPTS := -Wl,-x
 
+# PLATFORMLIBDL - Library that supports dlsym() et al. 
+PLATFORMLIBDL := -ldl
+
 # Path to location for LLVM front-end for this architecture.  This setting may
 # be overriden by the Makefile.config option, and should not override it if set.
 #


Index: llvm/Makefile.SunOS
diff -u llvm/Makefile.SunOS:1.9 llvm/Makefile.SunOS:1.10
--- llvm/Makefile.SunOS:1.9	Sun May 25 11:52:41 2003
+++ llvm/Makefile.SunOS	Tue Jun 17 15:08:02 2003
@@ -24,6 +24,9 @@
 #
 PLATFORMSTRIPOPTS :=
 
+# PLATFORMLIBDL - Library that supports dlsym() et al. 
+PLATFORMLIBDL := -ldl
+
 # Path to location for LLVM front-end for this architecture.  This setting may
 # be overriden by the Makefile.config option, and should not override it if set.
 #





More information about the llvm-commits mailing list