From c417d573a317087886f0efab8eecf1713d71792e Mon Sep 17 00:00:00 2001 From: James McCoy Date: Mon, 16 Aug 2021 00:02:22 -0400 Subject: [PATCH] Revert "tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)" This reverts commit ed11721b6bb36042ab065b5045c8eb01115b8902. It broke multiple 32-bit builds and isn't actually required for building in a true x86 32-bit environment. --- test/unit/preprocess.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua index 3786bc2122..1073855a7d 100644 --- a/test/unit/preprocess.lua +++ b/test/unit/preprocess.lua @@ -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