aboutsummaryrefslogtreecommitdiffstats
path: root/android-configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-xandroid-configure.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh
index 5a1748c..4939323 100755
--- a/android-configure.sh
+++ b/android-configure.sh
@@ -482,6 +482,12 @@ case "$TARGET_OS" in
;;
esac
+case "$TARGET_OS" in
+ linux-*|darwin-*)
+ echo "#define CONFIG_MADVISE 1" >> $config_h
+ ;;
+esac
+
# the -nand-limits options can only work on non-windows systems
if [ "$TARGET_OS" != "windows" ] ; then
echo "#define CONFIG_NAND_LIMITS 1" >> $config_h