summaryrefslogtreecommitdiff
path: root/package/samba
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-05 14:46:56 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-05 14:46:56 +0000
commite35414722d976f819a9d42ee51e94d6ccbc03887 (patch)
treefc3e4dad250a5956d0bc0192f43886e9464f7f96 /package/samba
parent31460308a61180a47d428eba2563438d59ab5b5a (diff)
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.
Diffstat (limited to 'package/samba')
-rw-r--r--package/samba/samba.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 564ebae05..b9f0a9a9b 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -33,6 +33,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
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) \