mangohud/debian/rules
Ward Nakchbandi (Cosmic Fusion) 00fd204d2e
fix i386
2023-07-12 19:47:02 +03:00

33 lines
1.1 KiB
Makefile
Executable File

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
-Dwith_nvml=false \
-Dinclude_doc=true \
-Dwith_xnvctrl=enabled \
-Dwith_x11=enabled \
-Dwith_wayland=enabled \
-Dwith_dbus=enabled \
-Dmangoapp=true \
-Dmangohudctl=true \
-Dmangoapp_layer=true
else
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
-Dwith_nvml=enabled \
-Dinclude_doc=true \
-Dwith_xnvctrl=enabled \
-Dwith_x11=enabled \
-Dwith_wayland=enabled \
-Dwith_dbus=enabled \
-Dmangoapp=true \
-Dmangohudctl=true \
-Dmangoapp_layer=true
endif