Fix: build example SO when PIE is enabled
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 25 Oct 2017 18:28:04 +0000 (14:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Feb 2018 17:13:50 +0000 (12:13 -0500)
commit40c1d6b99cceaaf5dc9eaae65f5247c82231ad28
tree4be85e69968a39cca183ed946c691dc45d3fac45
parentfe94775b5ea73048692bad31448fbc8eb898234e
Fix: build example SO when PIE is enabled

In the example Makefiles, when building shared object libraires, make sure
we set the custom linker options after the CFLAGS/LDFLAGS so that it
overrides them. This is useful when the build system set some hardening
features like PIE in the CFLAGS.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/clock-override/Makefile
doc/examples/demo/Makefile
doc/examples/getcpu-override/Makefile
This page took 0.024619 seconds and 4 git commands to generate.