Revert "Revert "gn build: (manually) try to merge 1689ad27af""
authorNico Weber <thakis@chromium.org>
Thu, 28 Nov 2019 02:12:46 +0000 (21:12 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 28 Nov 2019 02:12:46 +0000 (21:12 -0500)
This reverts commit 88276ddbfea753ac13da5a64c2020b7b0a06617f.
The original change relanded.

llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

index 53684d4..f0602a7 100644 (file)
@@ -216,6 +216,7 @@ static_library("builtins") {
   }
 
   if (current_cpu == "x86" || current_cpu == "x64") {
+    sources -= [ "fp_mode.c" ]
     sources += [
       "cpu_model.c",
       "divxc3.c",
@@ -228,6 +229,7 @@ static_library("builtins") {
       "floattixf.c",
       "floatundixf.c",
       "floatuntixf.c",
+      "i386/fp_mode.c",
       "mulxc3.c",
       "powixf2.c",
     ]