diff options
| -rw-r--r-- | meta/recipes-support/apr/apr-util_1.6.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.6.1.bb b/meta/recipes-support/apr/apr-util_1.6.1.bb index f7d827a1d8..4e183ca374 100644 --- a/meta/recipes-support/apr/apr-util_1.6.1.bb +++ b/meta/recipes-support/apr/apr-util_1.6.1.bb | |||
| @@ -35,6 +35,7 @@ OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" | |||
| 35 | do_configure_append() { | 35 | do_configure_append() { |
| 36 | if [ "${CLASSOVERRIDE}" = "class-target" ]; then | 36 | if [ "${CLASSOVERRIDE}" = "class-target" ]; then |
| 37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${B}/build/rules.mk | 37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${B}/build/rules.mk |
| 38 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${B}/build/rules.mk | ||
| 38 | fi | 39 | fi |
| 39 | } | 40 | } |
| 40 | do_configure_prepend_class-native() { | 41 | do_configure_prepend_class-native() { |
| @@ -49,6 +50,7 @@ do_configure_append_class-native() { | |||
| 49 | 50 | ||
| 50 | do_configure_prepend_class-nativesdk() { | 51 | do_configure_prepend_class-nativesdk() { |
| 51 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk | 52 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk |
| 53 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${S}/build/rules.mk | ||
| 52 | } | 54 | } |
| 53 | 55 | ||
| 54 | do_configure_append_class-nativesdk() { | 56 | do_configure_append_class-nativesdk() { |
