diff options
Diffstat (limited to 'test/unit/preprocess.lua')
| -rw-r--r-- | test/unit/preprocess.lua | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua index 1073855a7d..3786bc2122 100644 --- a/test/unit/preprocess.lua +++ b/test/unit/preprocess.lua @@ -89,6 +89,10 @@ local Gcc = {    get_defines_extra_flags = {'-std=c99', '-dM', '-E'},    get_declarations_extra_flags = {'-std=c99', '-P', '-E'},  } +if ffi.abi("32bit") then +  table.insert(Gcc.get_defines_extra_flags, '-m32') +  table.insert(Gcc.get_declarations_extra_flags, '-m32') +end  function Gcc:define(name, args, val)    local define = '-D' .. name | 
