Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build cmake based libraries in release mode #192

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions angelscript/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=angelscript
pkgver=2.28.2
pkgrel=2
pkgrel=3
pkgdesc="A game-oriented interpreted compiled scripting language library"
arch=('mips')
url="http://angelcode.com/angelscript/"
Expand Down Expand Up @@ -28,7 +28,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions argtable2/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=argtable2
pkgver=13
pkgrel=3
pkgrel=4
pkgdesc="Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss"
arch=('mips')
url="http://argtable.sourceforge.net/"
Expand All @@ -24,7 +24,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions bzip2/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=bzip2
pkgver=1.0.8
pkgrel=4
pkgrel=5
pkgdesc="A high-quality data compression library"
arch=('mips')
url="http://www.sourceware.org/bzip2/"
Expand All @@ -26,7 +26,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
-DENABLE_SHARED_LIB=OFF -DENABLE_STATIC_LIB=ON -DENABLE_LIB_ONLY=ON "${XTRA_OPTS[@]}" .. || { exit 1; }
-DENABLE_SHARED_LIB=OFF -DENABLE_STATIC_LIB=ON -DENABLE_LIB_ONLY=ON -DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
5 changes: 3 additions & 2 deletions cjson/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=cjson
pkgver=1.7.16
pkgrel=2
pkgrel=3
pkgdesc="Ultralightweight JSON parser in ANSI C."
arch=('mips')
url="https://github.com/DaveGamble/cJSON/"
Expand All @@ -24,7 +24,8 @@ prepare() {
build() {
cd "cJSON-$pkgver/build"
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
-DENABLE_CJSON_UTILS=On -DENABLE_LOCALES=OFF -DENABLE_CJSON_TEST=OFF -DENABLE_TARGET_EXPORT=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DENABLE_CJSON_UTILS=On -DENABLE_LOCALES=OFF -DENABLE_CJSON_TEST=OFF -DENABLE_TARGET_EXPORT=OFF -DCMAKE_BUILD_TYPE=Release \
"${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
5 changes: 3 additions & 2 deletions curl/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=curl
pkgver=7.64.1
pkgrel=8
pkgrel=9
pkgdesc="A library for transferring data with URL syntax"
arch=('mips')
url="https://curl.se/"
Expand Down Expand Up @@ -30,7 +30,8 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DCMAKE_USE_MBEDTLS=1 -DUSE_UNIX_SOCKETS=0 \
-DENABLE_IPV6=0 -DENABLE_THREADED_RESOLVER=0 -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DENABLE_IPV6=0 -DENABLE_THREADED_RESOLVER=0 -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release \
"${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions enet/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=enet
pkgver=1.3.18
pkgrel=2
pkgrel=3
pkgdesc="ENet reliable UDP networking library"
arch=('mips')
url="http://enet.bespin.org/"
Expand All @@ -23,7 +23,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions freetype2/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=freetype2
pkgver=2.11.0
pkgrel=4
pkgrel=5
pkgdesc="a freely available software library to render fonts"
arch=('mips')
url="https://www.freetype.org/"
Expand All @@ -26,7 +26,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions harfbuzz/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=harfbuzz
pkgver=8.5.0
pkgrel=2
pkgrel=3
pkgdesc="OpenType text shaping engine"
arch=('mips')
url="https://harfbuzz.github.io/"
Expand Down Expand Up @@ -34,7 +34,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
-DHB_HAVE_FREETYPE=ON "${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release -DHB_HAVE_FREETYPE=ON "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libmikmod/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libmikmod
pkgver=3.3.11.1
pkgrel=5
pkgrel=6
pkgdesc="a portable sound library capable of playing samples as well as module files"
arch=('mips')
url="http://mikmod.sourceforge.net/"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DENABLE_SHARED=0 \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libmodplug/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libmodplug
pkgver=0.8.8.5
pkgrel=2
pkgrel=3
pkgdesc="libmodplug - the library which was part of the Modplug-xmms project"
arch=('mips')
url="http://modplug-xmms.sf.net/"
Expand All @@ -21,7 +21,7 @@ build() {
cd libmodplug
mkdir pspbuild
cd pspbuild
psp-cmake .. -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp
psp-cmake .. -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DCMAKE_BUILD_TYPE=Release
make
}

Expand Down
4 changes: 2 additions & 2 deletions libogg/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libogg
pkgver=1.3.5
pkgrel=3
pkgrel=4
pkgdesc="library for the multimedia container format, and the native file and stream format ogg"
arch=('mips')
url="https://www.xiph.org/ogg/"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
cd ../..
}
Expand Down
4 changes: 2 additions & 2 deletions libpng/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libpng
pkgver=1.6.43
pkgrel=6
pkgrel=7
pkgdesc="libpng is the official PNG reference library"
arch=('mips')
url="http://libpng.org/pub/png/libpng.html"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=/psp -DBUILD_SHARED_LIBS=OFF \
-DPNG_SHARED=OFF -DPNG_STATIC=ON -DUNIX=ON "${XTRA_OPTS[@]}" .. || { exit 1; }
-DPNG_SHARED=OFF -DPNG_STATIC=ON -DUNIX=ON -DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
5 changes: 3 additions & 2 deletions libpspvram/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libpspvram
pkgver=r11.885fd3f
pkgrel=2
pkgrel=3
pkgdesc="Dynamic VRAM allocation manager for the PSP"
arch=('mips')
url="https://github.com/albe/libpspvram"
Expand All @@ -22,7 +22,8 @@ build() {
cd "$pkgname"
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp "${XTRA_OPTS[@]}" .. || { exit 1; }
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp \
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libvorbis/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libvorbis
pkgver=1.3.7
pkgrel=3
pkgrel=4
pkgdesc="Vorbis audio compression reference implementation"
arch=('mips')
url="https://gitlab.xiph.org/xiph/vorbis"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
-DUNIX:BOOL=ON "${XTRA_OPTS[@]}" .. || { exit 1; }
-DUNIX:BOOL=ON -DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libxmp-lite/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libxmp-lite
pkgver=4.6.0
pkgrel=2
pkgrel=3
pkgdesc="Libxmp is a library that renders module files to PCM data"
arch=('mips')
url="https://github.com/libxmp/libxmp"
Expand All @@ -23,7 +23,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p build && cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE="${PSPDEV}/psp/share/pspdev.cmake" -DCMAKE_INSTALL_PREFIX=/psp -DBUILD_SHARED=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libxmp/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libxmp
pkgver=4.5.0
pkgrel=3
pkgrel=4
pkgdesc="Libxmp is a library that renders module files to PCM data"
arch=('mips')
url="https://github.com/libxmp/libxmp"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libyaml/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libyaml
pkgver=0.2.5
pkgrel=2
pkgrel=3
pkgdesc="LibYAML is a YAML parser and emitter library"
arch=('mips')
url="https://pyyaml.org/wiki/LibYAML"
Expand All @@ -17,7 +17,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
"${XTRA_OPTS[@]}" .. || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions libzip/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libzip
pkgver=1.9.2
pkgrel=2
pkgrel=3
pkgdesc="libzip is a C library for reading, creating, and modifying zip archives."
arch=('mips')
url="https://libzip.org/"
Expand All @@ -22,7 +22,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED=OFF \
-DBUILD_EXAMPLES=OFF -DBUILD_TOOLS=OFF -DBUILD_REGRESS=OFF -DBUILD_DOC=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DBUILD_EXAMPLES=OFF -DBUILD_TOOLS=OFF -DBUILD_REGRESS=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions lz4/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=lz4
pkgver=1.9.4
pkgrel=1
pkgrel=2
pkgdesc="Extremely Fast Compression algorithm"
arch=('mips')
url="https://lz4.org/"
Expand All @@ -27,7 +27,7 @@ build() {
cd build/psp
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DBUILD_SHARED_LIBS=OFF \
-DBUILD_STATIC_LIBS=ON -DLZ4_POSITION_INDEPENDENT_LIB=OFF -DLZ4_BUILD_CLI=OFF -DLZ4_BUILD_LEGACY_LZ4C=OFF \
"${XTRA_OPTS[@]}" ../cmake || { exit 1; }
-DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" ../cmake || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions mini18n/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=mini18n
pkgver=0.2.1
pkgrel=2
pkgrel=3
pkgdesc="mini18n is a translation library under GNU GPL."
arch=('mips')
url="https://github.com/bucanero/mini18n/"
Expand All @@ -19,7 +19,7 @@ prepare() {
build() {
cd "$pkgname/build"
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp \
-DBUILD_SHARED_LIBS=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release "${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS mini18n-static || { exit 1; }
}

Expand Down
4 changes: 2 additions & 2 deletions minizip/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=minizip
pkgver=3.0.4
pkgrel=3
pkgrel=4
pkgdesc="fork of the popular zip manipulation library found in the zlib distribution"
arch=('mips')
url="https://github.com/zlib-ng/minizip-ng"
Expand All @@ -25,7 +25,7 @@ build() {
mkdir -p build
cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DCMAKE_INSTALL_PREFIX=/psp -DBUILD_SHARED_LIBS=OFF \
-DMZ_COMPAT=OFF -DMZ_LZMA=OFF -DMZ_OPENSSL=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DMZ_COMPAT=OFF -DMZ_LZMA=OFF -DMZ_OPENSSL=OFF "${XTRA_OPTS[@]}" -DCMAKE_BUILD_TYPE=Release .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
6 changes: 3 additions & 3 deletions physfs/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=physfs
pkgver=3.2.0
pkgrel=2
pkgrel=3
pkgdesc="PhysicsFS; a portable, flexible file i/o abstraction."
arch=('mips')
url="https://icculus.org/physfs/"
Expand Down Expand Up @@ -34,8 +34,8 @@ build() {
mkdir pspbuild
cd pspbuild
psp-cmake .. -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${pkgdir}/psp -DPHYSFS_BUILD_TEST=Off \
-DPHYSFS_ARCHIVE_SLB=Off -DPHYSFS_BUILD_SHARED=Off -DPHYSFS_BUILD_DOCS=Off -DPHYSFS_ARCHIVE_ISO9660=Off
make
-DPHYSFS_ARCHIVE_SLB=Off -DPHYSFS_BUILD_SHARED=Off -DPHYSFS_BUILD_DOCS=Off -DPHYSFS_ARCHIVE_ISO9660=Off || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

package() {
Expand Down
5 changes: 3 additions & 2 deletions sdl2-image/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=sdl2-image
pkgver=2.6.3
pkgrel=4
pkgrel=5
pkgdesc="a simple library to load images of various formats as SDL surfaces"
arch=('mips')
url="https://wiki.libsdl.org/SDL2_image/FrontPage"
Expand Down Expand Up @@ -28,7 +28,8 @@ build() {
mkdir -p build && cd build
cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE="${PSPDEV}/psp/share/pspdev.cmake" -DCMAKE_INSTALL_PREFIX=/psp \
-DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=OFF -DSDL2IMAGE_DEPS_SHARED=OFF \
-DSDL2IMAGE_INSTALL=ON -DSDL2IMAGE_SAMPLES=OFF -DSDL2IMAGE_BACKEND_STB=OFF "${XTRA_OPTS[@]}" .. || { exit 1; }
-DSDL2IMAGE_INSTALL=ON -DSDL2IMAGE_SAMPLES=OFF -DSDL2IMAGE_BACKEND_STB=OFF -DCMAKE_BUILD_TYPE=Release \
"${XTRA_OPTS[@]}" .. || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
Loading
Loading