[llvm-commits] [dragonegg] r103462 - /dragonegg/trunk/Makefile
Duncan Sands
baldrick at free.fr
Tue May 11 00:58:04 PDT 2010
Author: baldrick
Date: Tue May 11 02:58:04 2010
New Revision: 103462
URL: http://llvm.org/viewvc/llvm-project?rev=103462&view=rev
Log:
Tell the linker to optimize the shared library. This actually
does something when using ELF.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=103462&r1=103461&r2=103462&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Tue May 11 02:58:04 2010
@@ -23,7 +23,7 @@
ifeq ($(shell uname),Darwin)
LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup
else
-LOADABLE_MODULE_OPTIONS=-shared -Wl,--version-script=$(SRC_DIR)/exports.map
+LOADABLE_MODULE_OPTIONS=-shared -Wl,-O1 -Wl,--version-script=$(SRC_DIR)/exports.map
endif
GCC_PLUGIN_DIR:=$(shell $(GCC) -print-file-name=plugin)
More information about the llvm-commits
mailing list