diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-10 10:41:08 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-10 10:43:59 +0100 |
commit | eda8ef326785e81b072b808509564e5774abae7b (patch) | |
tree | 049ea3f54f477c00a680ea6036433ba14b68e183 /rules/libcap.make | |
parent | e66dba3f30d84122237d3eb9bf1e946446f473b5 (diff) | |
download | ptxdist-eda8ef326785e81b072b808509564e5774abae7b.tar.gz ptxdist-eda8ef326785e81b072b808509564e5774abae7b.tar.xz |
libcap: always build a dynamically linked exectables
For unknown reasons the libcap executables are build static if a .git directory
is present in the topdir folder. Linking breaks if position independent
executables are activated in the ptxdist hardening flags.
This patch overrides the git detection to always build dynamically linked
executables.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/libcap.make')
-rw-r--r-- | rules/libcap.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/libcap.make b/rules/libcap.make index 0c63e5e51..70ae7749c 100644 --- a/rules/libcap.make +++ b/rules/libcap.make @@ -32,7 +32,7 @@ LIBCAP_LICENSE := BSD, GPL # ---------------------------------------------------------------------------- LIBCAP_MAKE_OPT := \ - prefix= PAM_CAP=no LIBATTR=no lib=lib \ + prefix= PAM_CAP=no DYNAMIC=yes LIBATTR=no lib=lib \ CC=$(CROSS_CC) \ BUILD_CC=$(HOSTCC) |