diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-09 08:50:24 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-09-09 08:50:24 +0000 |
commit | a0b2758814a7d71c65e0e0bfff57c67c11be3487 (patch) | |
tree | efdeb7999574342fe86273c991871337b55d25bf /Build/source/libs/luajit/m4 | |
parent | 03187b96967942c739327ca3602be152063dc708 (diff) |
libs/luajit: Keep preprocessed file for better diagnostics
git-svn-id: svn://tug.org/texlive/trunk@38330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/luajit/m4')
-rw-r--r-- | Build/source/libs/luajit/m4/lj-system.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/libs/luajit/m4/lj-system.m4 b/Build/source/libs/luajit/m4/lj-system.m4 index 768458c88a1..5f0d164af80 100644 --- a/Build/source/libs/luajit/m4/lj-system.m4 +++ b/Build/source/libs/luajit/m4/lj-system.m4 @@ -12,6 +12,7 @@ m4_define([_LJ_ARCH], [dnl rm -f dynasm_flags native_flags AC_MSG_CHECKING([for architecture]) +cp conftest.i system_flags AS_IF([grep 'LJ_TARGET_X64 ' conftest.i >/dev/null 2>&1], [LJARCH=x64], [grep 'LJ_TARGET_X86 ' conftest.i >/dev/null 2>&1], @@ -63,8 +64,6 @@ AS_IF([test "x$LJHOST" = xWindows], [echo '-D WIN' >>dynasm_flags]) DASM_ARCH=$LJARCH AS_CASE([$LJARCH], - [x86], [AS_IF([grep '__SSE2__ 1' conftest.i >/dev/null 2>&1], - [echo '-D SSE' >>dynasm_flags])], [x64], [AS_IF([grep 'LJ_FR2 1' conftest.i >/dev/null 2>&1], [], [DASM_ARCH=x86])], [arm], [AS_IF([test "x$LJHOST" = xiOS], |