Commit f7590158 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Pass CFLAGS and LDFLAGS to configure scripts

parent 5e336f09
...@@ -20,6 +20,9 @@ ifeq "$(HSCOLOUR_SRCS)" "YES" ...@@ -20,6 +20,9 @@ ifeq "$(HSCOLOUR_SRCS)" "YES"
$1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR)" $1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR)"
endif 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 # This rule configures the package, generates the package-data.mk file
# for our build system, and registers the package for use in-place in # for our build system, and registers the package for use in-place in
# the build tree. # the build tree.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment