Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 15, 2021
1 parent c115f15 commit fadfa6d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packaging/debian/xpra/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ EXTRA_BUILDOPTS := --without-csc_swscale --without-enc_ffmpeg --without-dec_avco
endif
# Disable CUDA on Ubuntu Impish and Debian Sid
# (nvcc fails to compile with the new glibc headers: #3293)
dvariant := $(shell lsb_release -cs)
ifeq ($(dvariant),impish)
EXTRA_BUILDOPTS := --without-nvenc
endif
ifeq ($(dvariant),sid)
OS_CODENAME := $(shell lsb_release -s -c)
ifeq (,$(filter $(OS_CODENAME),sid impish))
EXTRA_BUILDOPTS := --without-nvenc
endif

Expand Down

0 comments on commit fadfa6d

Please sign in to comment.