summaryrefslogtreecommitdiff
path: root/mk/package.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-16 17:29:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-16 17:29:57 +0100
commitc7b270a2f16bf666180fadf085eb1342a9e9a28c (patch)
tree341fa2b4f34485fc555a4b4164bb7feb98ce8749 /mk/package.mk
parent57627f1608991eae124d39885a40e170f27b9a1c (diff)
use better defaults for native builds
Diffstat (limited to 'mk/package.mk')
-rw-r--r--mk/package.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/mk/package.mk b/mk/package.mk
index 68142df0e..9b2b77559 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -3,10 +3,6 @@
all: build-all-pkgs
-ifeq ($(ADK_HOST_CYGWIN),y)
-EXEEXT:= .exe
-endif
-
# does not change CONFIGURE_ARGS in minimal mode
ifeq ($(filter minimal,${CONFIG_STYLE}),)
ifneq ($(ADK_DEBUG),)
@@ -25,6 +21,7 @@ CONFIGURE_ENV+= GCC_HONOUR_COPTS=s \
PKG_CONFIG_LIBDIR='${STAGING_TARGET_DIR}/usr/lib/pkgconfig'
ifeq ($(ADK_NATIVE),)
CONFIGURE_ENV+= ${TARGET_CONFIGURE_OPTS} \
+ cross_compiling=yes \
ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes
endif