Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Link flags #17

Merged
merged 4 commits into from Feb 22, 2019
Merged

Link flags #17

merged 4 commits into from Feb 22, 2019

Conversation

flihp
Copy link
Owner

@flihp flihp commented Feb 22, 2019

No description provided.

This commit updates the ADD_LINK_FLAG macro to store flags in the
EXTRA_LDFLAGS variable if none is provided.

Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Previously this was only used to link the example enclave. Using it
everywhere makes a lot more sense.

Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Likely CODE_COVERAGE_CFLAGS and CODE_COVERAGE_CXXFLAGS are the same.
Still this is good form.

Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Enabling 'defs' and 'code-coverage' at the same time causes the
link operation to fail with an undefined reference from __gcov_init to
'atexit'. For simplicity this patch will only enable the 'defs' linker
option if code coverage is disabled.

Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
@flihp flihp merged commit e559964 into master Feb 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant