[arch-commits] Commit in shaderc/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Nov 25 23:47:22 UTC 2020
Date: Wednesday, November 25, 2020 @ 23:47:22
Author: svenstaro
Revision: 401859
Simplify build
The explicit CPPFLAGS aren't actually needed as it turns out. CPPFLAGS are used by ninja just fine.
Modified:
shaderc/trunk/PKGBUILD
----------+
PKGBUILD | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-25 14:02:20 UTC (rev 401858)
+++ PKGBUILD 2020-11-25 23:47:22 UTC (rev 401859)
@@ -29,8 +29,6 @@
}
build() {
- export CFLAGS+=" ${CPPFLAGS}"
- export CXXFLAGS+=" ${CPPFLAGS} -I/usr/include/glslang"
cd ${pkgname}-${pkgver}
cmake \
-B build \
@@ -38,6 +36,7 @@
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DSHADERC_SKIP_TESTS=ON \
+ -Dglslang_SOURCE_DIR=/usr/include/glslang \
-GNinja
ninja -C build
More information about the arch-commits
mailing list