aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-18 19:56:44 +0100
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-18 19:56:44 +0100
commitab62e1bed37d2efe4d2a9e0139839bae21b1cdd9 (patch)
tree73a122d74b0493fa1f95e82b478a749b3e6595fb /driver
parent0a39cdab7f7ad8dc73339d17563a85d6f57f1710 (diff)
downloadcompcert-kvx-ab62e1bed37d2efe4d2a9e0139839bae21b1cdd9.tar.gz
compcert-kvx-ab62e1bed37d2efe4d2a9e0139839bae21b1cdd9.zip
"macosx" is now called "macos"
The configure script still accepts "macosx" for backward compatibility, but every other part of CompCert now uses "macos".
Diffstat (limited to 'driver')
-rw-r--r--driver/Configuration.ml2
-rw-r--r--driver/Frontend.ml4
2 files changed, 3 insertions, 3 deletions
diff --git a/driver/Configuration.ml b/driver/Configuration.ml
index 2188acf0..4b0c116e 100644
--- a/driver/Configuration.ml
+++ b/driver/Configuration.ml
@@ -157,4 +157,4 @@ let response_file_style =
let gnu_toolchain = system <> "diab"
-let elf_target = system <> "macosx" && system <> "cygwin"
+let elf_target = system <> "macos" && system <> "cygwin"
diff --git a/driver/Frontend.ml b/driver/Frontend.ml
index 183908d3..6590e793 100644
--- a/driver/Frontend.ml
+++ b/driver/Frontend.ml
@@ -109,8 +109,8 @@ let init () =
| "x86" -> if Configuration.model = "64" then
Machine.x86_64
else
- if Configuration.abi = "macosx"
- then Machine.x86_32_macosx
+ if Configuration.abi = "macos"
+ then Machine.x86_32_macos
else if Configuration.system = "bsd"
then Machine.x86_32_bsd
else Machine.x86_32