When the following is used in the build function:
cmake -S $_pkgname -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DENABLE_VCPKG=OFF \
-Wno-dev
cmake --build build
It produces the following error:
Error: unknown pseudo-op: `.rodata'
However, modifying the build function according to the build instructions from upstream like so:
cmake -S $_pkgname -B build \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_C_COMPILER=/usr/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DENABLE_VCPKG=OFF \
-Wno-dev \
-G Ninja
cmake --build build
Is able to build the program and create the package. This is likely due to the latest commit from the source code repo.
Pinned Comments
abouvier commented on 2022-10-12 17:50 (UTC)
Data and config files previously stored in
~/.local/share/cemu
are now searched in~/.config/Cemu
,~/.local/share/Cemu
and~/.cache/Cemu
.