diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-28 09:07:37 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-28 09:07:37 +0000 |
commit | 22067fe830ec3090316787abecc6644540967b54 (patch) | |
tree | 6f638772a5baa4c6ff8505b53d6e2c9c175f2fe0 /Build | |
parent | a7c63a2257f4923220afa43b88f7d5950abf0c80 (diff) |
libs/luajit: Try to fix it for NetBSD/amd64
git-svn-id: svn://tug.org/texlive/trunk@38488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/libs/luajit/configure | 7 | ||||
-rw-r--r-- | Build/source/libs/luajit/configure.ac | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/libs/luajit/configure b/Build/source/libs/luajit/configure index 53a0f24c9c5..0ab857b3470 100755 --- a/Build/source/libs/luajit/configure +++ b/Build/source/libs/luajit/configure @@ -14278,6 +14278,13 @@ CFLAGS="$CFLAGS -fno-stack-protector" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +int +main () +{ + + ; + return 0; +} _ACEOF if ac_fn_c_try_compile "$LINENO"; then : LUAJIT_CFLAGS="$LUAJIT_CFLAGS -fno-stack-protector" diff --git a/Build/source/libs/luajit/configure.ac b/Build/source/libs/luajit/configure.ac index 080c39dd2ec..d56af825822 100644 --- a/Build/source/libs/luajit/configure.ac +++ b/Build/source/libs/luajit/configure.ac @@ -53,7 +53,7 @@ AS_CASE([$LJHOST], [LJVM_MODE=elfasm]) lj_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -fno-stack-protector" -AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]],[[]])], +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[]])], [LUAJIT_CFLAGS="$LUAJIT_CFLAGS -fno-stack-protector"]) CFLAGS=$lj_save_CFLAGS AM_CONDITIONAL([PEOBJ], [test "x$LJVM_MODE" = xpeobj]) |