[PATCH] don't activate magic linking option per default: -Wl,-S

David Ostrovsky (via Code Review) gerrit at gerrit.libreoffice.org
Tue Oct 30 23:24:33 PDT 2012


I have submitted a patch for review:


To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/49/949/1

don't activate magic linking option per default: -Wl,-S

The build should not be smarter then it should, at least not
in the default case. But if someone want magic, it can be achived
with a new environment variable: BUILD_MAGIC=YES.

So if someone always wants magic, he should export that variable
in his einvironemnt, i. e. export BUILD_MAGIC=YES. If someone wants
magic only sometimes, he can pass it per command line:

make BUILD_MAGIC=YES <target>

Currently only stripping of symbols during linking is controled with
that option but feel free to add more magic to the build process.

Change-Id: If8e663e37713acd3b30b562352ef304bc901517a
M solenv/gbuild/LinkTarget.mk
1 file changed, 6 insertions(+), 0 deletions(-)

To view, visit https://gerrit.libreoffice.org/949
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If8e663e37713acd3b30b562352ef304bc901517a
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: David Ostrovsky <David.Ostrovsky at gmx.de>

More information about the LibreOffice mailing list