Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
acc2bdc7
Commit
acc2bdc7
authored
Jul 05, 2008
by
Ian Lynagh
Browse files
gmp didn't really fit into the make boot/all cycle, so don't try to force it
Now we just run make in it at the start of the stage1 build
parent
98a18944
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
acc2bdc7
...
...
@@ -67,9 +67,9 @@ include $(TOP)/mk/boilerplate.mk
# We can't 'make boot' in libraries until stage1 is built
ifeq
"$(BootingFromHc)" "YES"
SUBDIRS_BUILD
=
gmp
libffi includes rts compat compiler docs utils driver
SUBDIRS_BUILD
=
libffi includes rts compat compiler docs utils driver
else
SUBDIRS_BUILD
=
gmp
libffi includes compat utils driver docs compiler rts libraries/Cabal/doc
SUBDIRS_BUILD
=
libffi includes compat utils driver docs compiler rts libraries/Cabal/doc
endif
SUBDIRS
=
gmp libffi includes compat utils driver docs rts libraries compiler libraries/Cabal/doc
...
...
@@ -99,6 +99,7 @@ endif
stage1
:
$(GCC_LIB_DEP) check-packages
$(MAKE)
-C
libraries boot
$(MAKE)
-C
gmp boot
$(MAKE)
-C
utils/mkdependC boot
@
case
'
${MFLAGS}
'
in
*
-[ik]
*
)
x_on_err
=
0
;;
*
-r
*
[
ik]
*
)
x_on_err
=
0
;;
*
)
x_on_err
=
1
;;
esac
;
\
for
i
in
$(SUBDIRS_BUILD)
;
do
\
...
...
gmp/Makefile
View file @
acc2bdc7
...
...
@@ -43,13 +43,11 @@ else
BUILD_SHARED
=
no
endif
boot
::
stamp.gmp.static
BINDIST_STAMPS
=
stamp.gmp.static
INSTALL_HEADERS
+=
gmp.h
INSTALL_LIBS
+=
libgmp.a
ifeq
"$(BUILD_SHARED)" "yes"
boot
::
stamp.gmp.shared
BINDIST_STAMPS
+=
stamp.gmp.shared
INSTALL_LIBS
+=
libgmp.dll.a
INSTALL_PROGS
+=
libgmp-3.dll
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment