mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/cifs-utils: remove NO_WERROR hook
Buildroot commit18bd541dd0added the hook to remove -Werror after upstream added it to CFLAGS in version 5.4: https://git.samba.org/?p=cifs-utils.git;a=commitdiff;h=dc0dd017a856185422d2f3691062737a9e93ecae Upstream however removed -Werror again in version 5.6 https://git.samba.org/?p=cifs-utils.git;a=commitdiff;h=74edf24d9780900f3ce15d2403c6e331b031d454 This version was bumped in buildroot with commit839546dd3abut the NO_WERROR hook was not removed until now. The tarball of version 7.6 does not include Makefile.in anymore which broke the build of the package. As this hook is not needed anymore it is removed. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit6fe70fb484) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
23a7737609
commit
ad20ef6ad2
@@ -25,12 +25,6 @@ ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
||||
CIFS_UTILS_DEPENDENCIES += keyutils
|
||||
endif
|
||||
|
||||
define CIFS_UTILS_NO_WERROR
|
||||
$(SED) 's/-Werror//' $(@D)/Makefile.in
|
||||
endef
|
||||
|
||||
CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CIFS_UTILS_SMBTOOLS),)
|
||||
define CIFS_UTILS_REMOVE_SMBTOOLS
|
||||
rm -f $(TARGET_DIR)/usr/bin/smbinfo
|
||||
|
||||
Reference in New Issue
Block a user