Skip to content

Commit

Permalink
fix(main/matplotlib): Workaround compiler error for 32 bit CPU archit…
Browse files Browse the repository at this point in the history
…ectures
  • Loading branch information
Biswa96 committed Dec 15, 2024
1 parent 9c84aff commit 80876d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/matplotlib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ termux_step_pre_configure() {
if $TERMUX_ON_DEVICE_BUILD; then
termux_error_exit "Package '$TERMUX_PKG_NAME' is not available for on-device builds."
fi

# error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing]
CXXFLAGS+=" -Wno-c++11-narrowing"
}

termux_step_configure() {
Expand Down

0 comments on commit 80876d1

Please sign in to comment.