diff options
author | Matthias Hentges <oe@hentges.net> | 2005-07-21 03:28:55 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-21 03:28:55 +0000 |
commit | 5c8f0ac921d317857f53af063b6158fe450e3977 (patch) | |
tree | 1d419644017f9a9f2acc62908c7066806cdd078a /packages/pcre | |
parent | 106a843b00bc7003f3dcdaeca83d453b595b49c3 (diff) | |
parent | 79854f3a16e4bd18ae87450fde8061778f192585 (diff) |
merge of 60b47beac72c6f1f23514b42a309716b470d471b
and a6f1ef5bbb3cac8192d0a7bc6d5c64b301e70463
Diffstat (limited to 'packages/pcre')
-rw-r--r-- | packages/pcre/pcre_4.4.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/pcre/pcre_4.4.bb b/packages/pcre/pcre_4.4.bb index 5ba7a1298b..609a808891 100644 --- a/packages/pcre/pcre_4.4.bb +++ b/packages/pcre/pcre_4.4.bb @@ -19,9 +19,11 @@ CFLAGS_append = " -D_REENTRANT" EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10000000" do_compile () { - ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c dftables.c - ${BUILD_CC} dftables.o -o dftables - oe_runmake + # The generation of dftables can lead to timestamp problems with ccache + # because the generated config.h seems newer. It is sufficient to ensure that the + # attempt to build dftables inside make will actually work (foo_FOR_BUILD is + # only used for this). + oe_runmake CC_FOR_BUILD="${BUILD_CC}" CFLAGS_FOR_BUILD="-DLINK_SIZE=2 -I${S}/include" LINK_FOR_BUILD="${BUILD_CC}" } do_stage () { |