Skip to content

Commit

Permalink
Add fix for __bitwise redefined
Browse files Browse the repository at this point in the history
  • Loading branch information
sakaki- committed Nov 21, 2019
1 parent 4afc053 commit bc0bf8b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ pkg_setup() {
append-ldflags $(no-as-needed)
}

src_prepare() {
default
sed -i 's/__bitwise/FDT_BITWISE/' "${S}/opensrc/helpers/libfdt/libfdt_env.h"
sed -i 's/__force/FDT_FORCE/' "${S}/opensrc/helpers/libfdt/libfdt_env.h"
}

src_configure() {
local mycmakeargs=(
-DVMCS_INSTALL_PREFIX="/usr"
Expand Down

0 comments on commit bc0bf8b

Please sign in to comment.