diff options
-rw-r--r-- | meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb index 7343662d01..21eec6df5a 100644 --- a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb | |||
@@ -20,15 +20,17 @@ LDFLAGS_prepend_libc-uclibc = " -lpthread " | |||
20 | inherit cmake pkgconfig | 20 | inherit cmake pkgconfig |
21 | 21 | ||
22 | do_configure_prepend() { | 22 | do_configure_prepend() { |
23 | # The native build really doesn't like being rebuilt, so delete | ||
24 | # it if it's already present. | ||
25 | rm -rf build-native | ||
23 | mkdir build-native | 26 | mkdir build-native |
24 | cd build-native | 27 | cd build-native |
25 | cmake -DCMAKE_C_FLAGS=${BUILD_CFLAGS} \ | 28 | cmake -DCMAKE_C_FLAGS=${BUILD_CFLAGS} \ |
26 | -DCMAKE_C_COMPILER=${BUILD_CC} \ | 29 | -DCMAKE_C_COMPILER=${BUILD_CC} \ |
27 | -DCMAKE_CXX_FLAGS=${BUILD_CXXFLAGS} \ | 30 | -DCMAKE_CXX_FLAGS=${BUILD_CXXFLAGS} \ |
28 | -DCMAKE_CXX_COMPILER=${BUILD_CXX} \ | 31 | -DCMAKE_CXX_COMPILER=${BUILD_CXX} \ |
29 | -DCMAKE_LINK_FLAGS=${BUILD_LDFLAGS} \ | ||
30 | .. | 32 | .. |
31 | make | 33 | make make-c-interface |
32 | cd .. | 34 | cd .. |
33 | } | 35 | } |
34 | 36 | ||