diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a3e4ae316..c2f7c23e7 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -73,7 +73,7 @@ jobs: name: Build C++ run: | mkdir build && cd build - cmake -DWITH_XC_ALL=ON -DWITH_TESTS=OFF .. + cmake -DWITH_TESTS=OFF .. make -j $(nproc) # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6d1533f79..f6b1a2422 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -68,8 +68,7 @@ parts: - -DKEEPASSXC_DIST_TYPE=Snap - -DKEEPASSXC_BUILD_TYPE=Release - -DWITH_TESTS=OFF - - -DWITH_XC_ALL=ON - - -DWITH_XC_UPDATECHECK=OFF + - -DKPXC_FEATURE_UPDATES=OFF build-packages: - g++ - libbotan-2-dev diff --git a/utils/fuzz-testing/README.md b/utils/fuzz-testing/README.md index 9f2c1fc27..e1f6f807b 100644 --- a/utils/fuzz-testing/README.md +++ b/utils/fuzz-testing/README.md @@ -24,7 +24,7 @@ A special "instrumented build" is used that allows the fuzzer to look into the p $ cd your_keepassxc_source_directory $ mkdir buildafl $ cd buildafl - $ CXX=afl-g++ AFL_HARDEN=1 cmake -DWITH_XC_ALL=ON .. + $ CXX=afl-g++ AFL_HARDEN=1 cmake .. $ make In the source code, special behavior for fuzz testing can be implemented with `#ifdef __AFL_COMPILER`. For example, in fuzz builds, the KeePassXC CLI takes the database password from environment variable `KEEPASSXC_AFL_PASSWORD` to allow non-interactive operation.