diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 13:32:01 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-29 03:48:20 -0400 |
commit | 8e5de15da1ded1909e10483c7ae3ba1ae3e87b17 (patch) | |
tree | e6c9288e9403bab70741afc1f2f27448d3b520db /hadrian | |
parent | 7b2ecbc01aacbbacbbf8a02a0d6913e228f2994b (diff) | |
download | haskell-8e5de15da1ded1909e10483c7ae3ba1ae3e87b17.tar.gz |
hadrian: Define USE_LIBFFI_FOR_ADJUSTORS when necessary
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Settings/Packages.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs index ac3c28404e..349c6518fb 100644 --- a/hadrian/src/Settings/Packages.hs +++ b/hadrian/src/Settings/Packages.hs @@ -226,6 +226,8 @@ rtsPackageArgs = package rts ? do , Profiling `wayUnit` way ? arg "-DPROFILING" , Threaded `wayUnit` way ? arg "-DTHREADED_RTS" + , useLibFFIForAdjustors ? arg "-DUSE_LIBFFI_FOR_ADJUSTORS" + , inputs ["**/RtsMessages.c", "**/Trace.c"] ? arg ("-DProjectVersion=" ++ show projectVersion) |