Преглед изворни кода

samba: predefine a autoconf result for enums with negative values

The configure script tries to find out if enums can be negative, this is not
supported when cross compiling, since it tries to run the binary. This commit
sets the test to yes, i.e. negative enums are possible.
Hans-Christian Egtvedt пре 16 година
родитељ
комит
e35414722d
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      package/samba/samba.mk

+ 1 - 0
package/samba/samba.mk

@@ -33,6 +33,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
 		samba_cv_HAVE_FCNTL_LOCK=yes \
 		samba_cv_HAVE_FCNTL_LOCK=yes \
 		samba_cv_HAVE_SECURE_MKSTEMP=yes \
 		samba_cv_HAVE_SECURE_MKSTEMP=yes \
 		samba_cv_fpie=no \
 		samba_cv_fpie=no \
+		SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
 		./configure \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \