diff options
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-cross.inc')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-cross.inc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc index 3189764..11e94ce 100644 --- a/recipes-core/openjdk/openjdk-8-cross.inc +++ b/recipes-core/openjdk/openjdk-8-cross.inc | |||
@@ -39,9 +39,6 @@ SRC_URI_append = "\ | |||
39 | file://jvm.cfg \ | 39 | file://jvm.cfg \ |
40 | " | 40 | " |
41 | 41 | ||
42 | # do not use --wth-extra-cflags, it breaks building demos for jdk | ||
43 | # maybe disabling demos is more reasonable than avoiding --wth-extra-cflags | ||
44 | # needs discussion | ||
45 | EXTRA_OECONF_append = "\ | 42 | EXTRA_OECONF_append = "\ |
46 | --with-jobs=${@get_jdk8_native_jobs(d)} \ | 43 | --with-jobs=${@get_jdk8_native_jobs(d)} \ |
47 | \ | 44 | \ |
@@ -53,6 +50,10 @@ EXTRA_OECONF_append = "\ | |||
53 | --disable-precompiled-headers \ | 50 | --disable-precompiled-headers \ |
54 | --disable-zip-debug-info \ | 51 | --disable-zip-debug-info \ |
55 | \ | 52 | \ |
53 | --with-extra-cflags='${CFLAGS}' \ | ||
54 | --with-extra-cxxflags='${CXXFLAGS}' \ | ||
55 | --with-extra-ldflags='${LDFLAGS}' \ | ||
56 | \ | ||
56 | ${@jdk_configure_options(d)} \ | 57 | ${@jdk_configure_options(d)} \ |
57 | " | 58 | " |
58 | 59 | ||
@@ -83,10 +84,6 @@ export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LE | |||
83 | BUILD_LD="${BUILD_CCLD}" | 84 | BUILD_LD="${BUILD_CCLD}" |
84 | 85 | ||
85 | EXTRA_OEMAKE_append = '\ | 86 | EXTRA_OEMAKE_append = '\ |
86 | OE_CFLAGS="${CFLAGS}" \ | ||
87 | OE_CPPFLAGS="${CPPFLAGS}" \ | ||
88 | OE_CXXFLAGS="${CXXFLAGS}" \ | ||
89 | OE_LDFLAGS="${LDFLAGS}" \ | ||
90 | ${@jdk_make_options(d)} \ | 87 | ${@jdk_make_options(d)} \ |
91 | ALT_SDT_H="${STAGING_INCDIR}" \ | 88 | ALT_SDT_H="${STAGING_INCDIR}" \ |
92 | ALT_CUPS_HEADERS_PATH="${STAGING_INCDIR}" \ | 89 | ALT_CUPS_HEADERS_PATH="${STAGING_INCDIR}" \ |