diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-04-28 10:11:13 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-04-28 10:13:37 +0200 |
commit | a0e10510c64182c7126ff426127ea8fd78c07d00 (patch) | |
tree | 6a40cf1d8005985799549ca780bdf19f5f38227d /utils/deriveConstants | |
parent | 5adf8f3b74a4ee11d594b9993493bed4e3521ce2 (diff) | |
download | haskell-a0e10510c64182c7126ff426127ea8fd78c07d00.tar.gz |
Recommend more reliable recourse for broken nm
xcrun --find seems like the appropriate choice here. Thanks to Brandon
Allbery for suggesting this.
Diffstat (limited to 'utils/deriveConstants')
-rw-r--r-- | utils/deriveConstants/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/deriveConstants/Main.hs b/utils/deriveConstants/Main.hs index 6a050d308c..6cd48d4564 100644 --- a/utils/deriveConstants/Main.hs +++ b/utils/deriveConstants/Main.hs @@ -693,7 +693,7 @@ getWanted verbose os tmpdir gccProgram gccFlags nmProgram mobjdumpProgram Just 0x292 -> die $ "broken 'nm' detected, see https://ghc.haskell.org/ticket/11744.\n" ++ "\n" ++ "Workaround: You may want to pass\n" - ++ " --with-nm=$(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic\n" + ++ " --with-nm=$(xcrun --find nm-classic\n" ++ "to 'configure'.\n" Just x -> die ("unexpected value round-tripped for CONTROL_GROUP_CONST_291: " ++ show x) |