We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cbe384 commit 6ef1a57Copy full SHA for 6ef1a57
1 file changed
module/Makefile
@@ -13,7 +13,7 @@ ELFLAG := -DEL$(shell echo $(VERSION_ID) | cut -d. -f1)
13
endif
14
15
ifneq (,$(findstring centos,$(ID)))
16
-CENTOSFLAG := -DCENTOS$(VERSION_ID)
+CENTOSFLAG := -DCENTOS$(shell echo $(VERSION_ID) | cut -d. -f1)
17
18
19
Raspbian := $(shell grep -Eic 'raspb(erry|ian)' /proc/cpuinfo /etc/os-release 2>/dev/null )
0 commit comments