libsoxr: fixed cmake flags

This commit is contained in:
Tim Biermann 2020-12-06 23:57:37 +00:00
parent d3abe2ac37
commit bd4298adc1
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35Ez8MZ/2X4OIBwTQFHZJ0KtKRzudcNrNfAmt8ikJdIb22EXy+uPN1TK0kFtmNQTEPnwGFrsq0jISnfEjC2o0Ag= RWSagIOpLGJF36tGq9F//kbgp+Rdq7r3mUwdNZV9EoDbmd796RRjrl4GGsiCOnGdYhJzn3sMWZpK6q84kjFueOdSFGVC2vC0tAQ=
SHA256 (Pkgfile) = 62ac19a0eda7baa5910b800feb23344a57342647e8258a8d42cf06da4ad97fac SHA256 (Pkgfile) = 28dbe5fa34c1803dd50498198190d0b60b8762a98d9acdc63b5866a1000b1c01
SHA256 (.footprint) = e3df6a7a6c7e67eda43a1601493e29d219747e75b60864d8d2d5910c92a6e128 SHA256 (.footprint) = e3df6a7a6c7e67eda43a1601493e29d219747e75b60864d8d2d5910c92a6e128
SHA256 (soxr-0.1.3-Source.tar.xz) = b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889 SHA256 (soxr-0.1.3-Source.tar.xz) = b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889

View File

@ -13,8 +13,8 @@ build() {
cmake -S soxr-$version-Source -B build $PKGMK_SOXR \ cmake -S soxr-$version-Source -B build $PKGMK_SOXR \
-D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \ -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_EXAMPLES=OFF \ -D BUILD_EXAMPLES=OFF \
-D BUILD_SHARED_LIBS=ON \ -D BUILD_SHARED_LIBS=ON \
-D WITH_AVFFT=ON \ -D WITH_AVFFT=ON \