Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
f7590158
Commit
f7590158
authored
Jun 15, 2009
by
Ian Lynagh
Browse files
Pass CFLAGS and LDFLAGS to configure scripts
parent
5e336f09
Changes
1
Show whitespace changes
Inline
Side-by-side
rules/build-package-data.mk
View file @
f7590158
...
...
@@ -20,6 +20,9 @@ ifeq "$(HSCOLOUR_SRCS)" "YES"
$1_$2_CONFIGURE_OPTS
+=
--with-hscolour
=
"
$
$(HSCOLOUR)
"
endif
$1_$2_CONFIGURE_OPTS
+=
--configure-option
=
CFLAGS
=
"
$
$(SRC_CC_OPTS)
$$
(
$1_CC_OPTS
)
$$
(
$1_$2_CC_OPTS
)"
$1_$2_CONFIGURE_OPTS
+=
--configure-option
=
LDFLAGS
=
"
$
$(SRC_LD_OPTS)
$$
(
$1_LD_OPTS
)
$$
(
$1_$2_LD_OPTS
)"
# This rule configures the package, generates the package-data.mk file
# for our build system, and registers the package for use in-place in
# the build tree.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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