[arch-commits] Commit in libolm/trunk (PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Thu Apr 7 08:58:32 UTC 2022
Date: Thursday, April 7, 2022 @ 08:58:31
Author: diabonas
Revision: 1182772
libolm: remove CMAKE_{C,CXX}_FLAGS
These are not necessary according to the current CMake guidelines and indeed
the binaries stay the same without them.
Modified:
libolm/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-07 08:49:06 UTC (rev 1182771)
+++ PKGBUILD 2022-04-07 08:58:31 UTC (rev 1182772)
@@ -23,11 +23,7 @@
build() {
cd olm
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS}" \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
- -B build
+ cmake -B build -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
cd python
@@ -39,7 +35,7 @@
ctest
cd ../../python
- PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build python -m pytest
+ PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build pytest
}
package_libolm() {
More information about the arch-commits
mailing list