diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-10-28 21:48:32 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-10-28 21:48:32 +0000 |
commit | 9aa55d7e9dae5d6ff37b4fc81230d75664217e2b (patch) | |
tree | b74292b9e895e8fde0726707e73a034267854760 /lib/make/configure.in | |
parent | e91cde0953119fa01d92174413643e889adbb98e (diff) |
Add configuration options allowing moving all object files into the executable
Add configuration options allowing people to ensure that all thorn
source files make it into the executable. Among other things, this
ensures that each routine has a unique name.
This is disabled by default.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4899 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r-- | lib/make/configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in index 08ae04f3..7c1a7e45 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -1260,6 +1260,12 @@ AC_SUBST(LIBNAME_PREFIX) AC_SUBST(LIBNAME_SUFFIX) : ${LIBNAME_SUFFIX='.a'} +# How to link in all object files from an archive +AC_SUBST(BEGIN_WHOLE_ARCHIVE_FLAGS) +: ${BEGIN_WHOLE_ARCHIVE_FLAGS=''} +AC_SUBST(END_WHOLE_ARCHIVE_FLAGS) +: ${END_WHOLE_ARCHIVE_FLAGS=''} + # How to link the cactus libraries AC_SUBST(CACTUSLIBLINKLINE) : ${CACTUSLIBLINKLINE='-L$(CCTK_LIBDIR) $(addprefix -l, $(ALLCACTUSLIBS))'} |