cifs-utils: fix building on static
PATCH 1/1 cifs-utils: fix building on static
Disable position independent executables when building on static.
Fixes:
http://autobuild.buildroot.net/results/bb0/bb00db98477f0f81c95ac1830ef3649b30963416/
Signed-off-by Vicente Olivert Riera <[email protected]>
--- package/cifs-utils/cifs-utils.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
package/cifs-utils/cifs-utils.mk +4 -0
@@ -10,6 +10,10 @@ CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils CIFS_UTILS_LICENSE = GPLv3+ CIFS_UTILS_LICENSE_FILES = COPYING +ifeq ($(BR2_PREFER_STATIC_LIB),y) +CIFS_UTILS_CONF_OPT += --disable-pie +endif + define CIFS_UTILS_NO_WERROR $(SED) 's/-Werror//' $(@D)/Makefile.in endef
Signature · 1 line
1.7.1
PATCH 1/1 cifs-utils: fix building on static
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
Disable position independent executables when building on static. Fixes:
http://autobuild.buildroot.net/results/bb0/bb00db98477f0f81c95ac1830ef3649b30963416/Signed-off-by Vicente Olivert Riera <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard