Skip to content

Commit

Permalink
Fix c++ flags for Java / Android
Browse files Browse the repository at this point in the history
  • Loading branch information
withSang committed Dec 4, 2024
1 parent 685bedb commit a959498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/android/jni/Application.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# only build armeabi-v7a, if required add 'armeabi' or 'x86'
APP_ABI := armeabi-v7a
APP_CPPFLAGS += -fexceptions -frtti -std=c++17
APP_CPPFLAGS += -fexceptions -frtti -std=c++20
APP_OPTIM := release
APP_STL := c++_shared
APP_MODULES := verovio-android
2 changes: 1 addition & 1 deletion bindings/java/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FILES="$SRCFILES \
../../src/json/jsonxx.cc \
../../src/crc/crc.cpp"

CXXOPTS="-g -fpic -std=c++17 -I../../include -I../../include/vrv -I../../include/json -I../../include/hum -I../../include/crc -I../../include/midi -I../../include/pugi -I../../include/zip -I../../libmei/addons -I../../libmei/dist -I/opt/local/include/ "
CXXOPTS="-g -fpic -std=c++20 -I../../include -I../../include/vrv -I../../include/json -I../../include/hum -I../../include/crc -I../../include/midi -I../../include/pugi -I../../include/zip -I../../libmei/addons -I../../libmei/dist -I/opt/local/include/ "

PATHS=""
unamestr=$(uname)
Expand Down

0 comments on commit a959498

Please sign in to comment.