1
mirror of https://github.com/neovim/neovim.git synced 2024-12-29 14:41:06 -07:00

Merge pull request from jamessan/32-bit-revert

Revert "tests: unit: fix preprocess: pass -m32 for 32bit ABI ()"
This commit is contained in:
James McCoy 2021-08-16 07:29:17 -04:00 committed by GitHub
commit 57fc3d3ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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