mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 05:08:56 +00:00
2e744f53e2
Specify `-std=cxx++` to fix multiple build error occurrences of: > error: ISO C++17 does not allow 'register' storage class specifier
9 lines
509 B
Diff
9 lines
509 B
Diff
diff -u -r ../qb64-2.0.2/internal/c/libqb/os/lnx/setup_build.sh ./internal/c/libqb/os/lnx/setup_build.sh
|
|
--- ../qb64-2.0.2/internal/c/libqb/os/lnx/setup_build.sh 2021-11-06 20:58:58.000000000 +0000
|
|
+++ ./internal/c/libqb/os/lnx/setup_build.sh 2024-07-09 18:20:31.320882573 +0000
|
|
@@ -1,3 +1,3 @@
|
|
#!/bin/sh
|
|
-g++ -c -w -Wall ../../../libqb.cpp -D DEPENDENCY_LOADFONT -D FREEGLUT_STATIC -o libqb_setup.o
|
|
+g++ -std=c++11 -c -w -Wall ../../../libqb.cpp -D DEPENDENCY_LOADFONT -D FREEGLUT_STATIC -o libqb_setup.o
|
|
|