aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-11-18 14:35:09 +0000
committerVaxry <[email protected]>2024-11-18 14:35:09 +0000
commit505c1f8f4a5a4a97534f1906a47c11de638d970d (patch)
tree4b483abe57dec0b7c7536bdb546954737de0d269 /src
parent6744bb57c639d5359a414eea2566328bb05c7065 (diff)
downloadHyprland-505c1f8f4a5a4a97534f1906a47c11de638d970d.tar.gz
Hyprland-505c1f8f4a5a4a97534f1906a47c11de638d970d.zip
miscfunctions: fix cross build
Diffstat (limited to 'src')
-rw-r--r--src/helpers/MiscFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index c7cd9ed4..c8b3bef4 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -609,7 +609,7 @@ void logSystemInfo() {
#if defined(__DragonFly__) || defined(__FreeBSD__)
const std::string GPUINFO = execAndGet("pciconf -lv | grep -F -A4 vga");
#elif defined(__arm__) || defined(__aarch64__)
- const std::string GPUINFO;
+ std::string GPUINFO;
const std::filesystem::path dev_tree = "/proc/device-tree";
try {
if (std::filesystem::exists(dev_tree) && std::filesystem::is_directory(dev_tree)) {