diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-11-11 10:55:51 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-11 11:34:25 -0500 |
commit | ba2ae2c8729d5aef2aeb7fb32d6c0ea2a465ea25 (patch) | |
tree | 88361b29b6baaa4b79562fd92d2fcb8d2371eb31 | |
parent | f11f2521aff16edca150e6eed5102a3da7e4f59a (diff) | |
download | haskell-ba2ae2c8729d5aef2aeb7fb32d6c0ea2a465ea25.tar.gz |
Adds cmm-sources to base
Bumps Cabal submodule.
Reviewers: bgamari, hvr
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4176
m--------- | libraries/Cabal | 0 | ||||
-rw-r--r-- | libraries/base/base.cabal | 3 | ||||
-rw-r--r-- | utils/ghc-cabal/Main.hs | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/libraries/Cabal b/libraries/Cabal -Subproject 46c79e1d8d0ed76b20e8494b697f3057b64aafd +Subproject 357d49d826004c022f3b4871f16d753e1b932b5 diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal index 43c7882253..e6f6420416 100644 --- a/libraries/base/base.cabal +++ b/libraries/base/base.cabal @@ -338,6 +338,9 @@ Library cbits/primFloat.c cbits/sysconf.c + cmm-sources: + cbits/CastFloatWord.cmm + include-dirs: include includes: HsBase.h diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index 2ba912a30f..9d0ffcff9a 100644 --- a/utils/ghc-cabal/Main.hs +++ b/utils/ghc-cabal/Main.hs @@ -406,8 +406,9 @@ generate directory distdir config_args variablePrefix ++ "_INSTALL_INCLUDES = " ++ unwords (installIncludes bi), variablePrefix ++ "_EXTRA_LIBRARIES = " ++ unwords (extraLibs bi), variablePrefix ++ "_EXTRA_LIBDIRS = " ++ unwords (extraLibDirs bi), + variablePrefix ++ "_S_SRCS = " ++ unwords (asmSources bi), variablePrefix ++ "_C_SRCS = " ++ unwords (cSources bi), - variablePrefix ++ "_CMM_SRCS := $(addprefix cbits/,$(notdir $(wildcard " ++ directory ++ "/cbits/*.cmm)))", + variablePrefix ++ "_CMM_SRCS = " ++ unwords (cmmSources bi), variablePrefix ++ "_DATA_FILES = " ++ unwords (dataFiles pd), -- XXX This includes things it shouldn't, like: -- -odir dist-bootstrapping/build |