Skip to content

Commit 0a9387e

Browse files
committed
try to fix build
1 parent 5654ad9 commit 0a9387e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debian/rules

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
dh $@ --parallel --builddirectory=build
55

66
override_dh_auto_build:
7-
dh_auto_build $@ -- prefix=/usr
7+
dh_auto_build $@ -- prefix=/usr CC=$(CC) CXX=$(CXX)
88

99
override_dh_auto_install:
1010
dh_auto_install $@ -- prefix=/usr \

fdpp/clang.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CLANG_VER := 16
1818
GCC_VER := $(shell $(CXX) --version 2>&1 | head -n 1 | grep GCC | \
1919
sed -E 's/.+ \(GCC\) ([^.]+)\.[^.]+\.[^ ]+.*/\1/')
2020
ifeq ($(GCC_VER),)
21-
$(error unknown compiler)
21+
$(error unknown compiler $(CXX) $(shell $(CXX) --version))
2222
endif
2323
endif
2424
FLEX = $(shell which flex 2>/dev/null)

0 commit comments

Comments
 (0)