Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/samba

Buildroot egtvedt at uclibc.org 1 participant 1 message Dec 5, 2008

lore
Share & tools
lore
#0 lore raw

Author: egtvedt
Date: 2008-12-05 06:46:56 -0800 (Fri, 05 Dec 2008) New Revision: 24283

Log:
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.

Modified:
trunk/buildroot/package/samba/samba.mk

Changeset:
Modified: trunk/buildroot/package/samba/samba.mk
===================================================================

buildroot/package/samba/samba.mk +1 -0
@@ -33,6 +33,7 @@
 		samba_cv_HAVE_FCNTL_LOCK=yes \
 		samba_cv_HAVE_SECURE_MKSTEMP=yes \
 		samba_cv_fpie=no \
+		SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \