mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 21:02:34 +08:00
chore: ignore some warnings on release build on arch PKGBUILD
This commit is contained in:
parent
7bffcded09
commit
8881996143
@ -34,7 +34,9 @@ build() {
|
|||||||
cmake -B build -S "$pkgname" \
|
cmake -B build -S "$pkgname" \
|
||||||
-DCMAKE_BUILD_TYPE='Release' \
|
-DCMAKE_BUILD_TYPE='Release' \
|
||||||
-DCMAKE_INSTALL_PREFIX="/opt/${_pkgname}" \
|
-DCMAKE_INSTALL_PREFIX="/opt/${_pkgname}" \
|
||||||
-Wno-dev
|
-Wno-dev \
|
||||||
|
-DCMAKE_CXX_FLAGS="-ffat-lto-objects -Wno-builtin-macro-redefined" \
|
||||||
|
-DCMAKE_C_FLAGS="-Wno-builtin-macro-redefined"
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user