Browse Source

musl: add initial pieces for a musl specific shared config.cache

stable/0.6
Christian Wiese 11 years ago
parent
commit
7e09718f1b
  1. 19
      base/musl/parse-config
  2. 6
      base/musl/share/config.cache

19
base/musl/parse-config

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/parse-config
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$SDECFG_LIBC" == "musl" ]; then
if atstage cross; then
var_append configcachefile ' ' "$base/package/*/musl/share/config.cache"
fi
fi

6
base/musl/share/config.cache

@ -0,0 +1,6 @@
# musl libc specific config.cache entries for cross compiling
# GNU libc compatible malloc, realloc, calloc
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_calloc_0_nonnull=yes
Loading…
Cancel
Save