Revert "tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)"

This reverts commit ed11721b6b.

It broke multiple 32-bit builds and isn't actually required for building
in a true x86 32-bit environment.
This commit is contained in:
James McCoy 2021-08-16 00:02:22 -04:00
parent 8491077314
commit c417d573a3
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -89,10 +89,6 @@ 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