Skip to content

Commit

Permalink
build/targets.mk: update Boost to 1.87.0, workaround to resolve Andro…
Browse files Browse the repository at this point in the history
…id compilation error

<inline asm>:1:41: error: expected '%<type>' or "<type>"
.pushsection ".debug_gdb_scripts", "MS",@progbits,1
                                        ^
<inline asm>:227:12: error: .popsection without corresponding .pushsection
.popsection
           ^
  • Loading branch information
Your Name committed Jan 7, 2025
1 parent 0cc56f6 commit c6d8237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@ endif
ifeq ($(TARGET),ANDROID)
TARGET_CPPFLAGS += -DANDROID
CXXFLAGS += -D__STDC_VERSION__=199901L

# disable pretty printer embedding
CXXFLAGS += -DBOOST_ALL_NO_EMBEDDED_GDB_SCRIPTS
ifeq ($(X86),y)
# On NDK r6, the macro _BYTE_ORDER never gets defined - workaround:
TARGET_CPPFLAGS += -D_BYTE_ORDER=_LITTLE_ENDIAN
Expand Down

0 comments on commit c6d8237

Please sign in to comment.