I still don't think it's using clang.
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
Maybe we need to pass options to cmake like this?
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_C_FLAGS="$CFLAGS -flto=thin" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -flto=thin" \
Or maybe export those envvars in the build function?
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.