Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
51031bf3
Commit
51031bf3
authored
May 21, 2009
by
Ian Lynagh
Browse files
Pass CFLAGS and LDFLAGS to libffi's configure
parent
46d2e100
Changes
1
Hide whitespace changes
Inline
Side-by-side
libffi/ghc.mk
View file @
51031bf3
...
...
@@ -119,10 +119,13 @@ $(libffi_STAMP_CONFIGURE):
PATH
=
`
pwd
`
:
$$
PATH
;
\
export
PATH
;
\
cd
build
&&
\
CC
=
$(WhatGccIsCalled)
$(SHELL)
configure
\
--enable-static
=
yes
\
CC
=
$(WhatGccIsCalled)
\
CFLAGS
=
"
$(SRC_CC_OPTS)
"
\
LDFLAGS
=
"
$(SRC_LD_OPTS)
"
\
$(SHELL)
configure
\
--enable-static
=
yes
\
--enable-shared
=
$(libffi_EnableShared)
\
--host
=
$(PLATFORM)
--build
=
$(PLATFORM)
--host
=
$(PLATFORM)
--build
=
$(PLATFORM)
# libffi.so needs to be built with the correct soname.
# NOTE: this builds libffi_convience.so with the incorrect
...
...
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