New comment by klarasm on void-packages repository https://github.com/void-linux/void-packages/issues/21662#issuecomment-625419782 Comment: (sorry for spamming, accidentally closed the issue earlier) Ok, this is interesting. With the modified template the x86_64 Makefile also looks like this (seems I also missed an important line earlier): ``` # Define install location for 'cups' device/filter support CUPSLIBS= CUPSLIBDIRS= CUPSSERVERBIN= CUPSSERVERROOT= CUPSDATA= CUPSPDFTORASTER=0 SHARE_LCUPS=1 LCUPS_NAME=cups LCUPSSRCDIR= LCUPSBUILDTYPE= CUPS_CC=$(CC) SHARE_LCUPSI=1 LCUPSI_NAME=cupsimage LCUPSISRCDIR= CUPS_CC=$(CC) CUPSCFLAGS= -DSHARE_LCUPS=$(SHARE_LCUPS) -DSHARE_LCUPSI=$(SHARE_LCUPSI) ``` With original template (x86_64): ``` # Define install location for 'cups' device/filter support CUPSLIBS= cups CUPSLIBDIRS= CUPSSERVERBIN=/usr/lib/cups CUPSSERVERROOT=/etc/cups CUPSDATA=/usr/share/cups CUPSPDFTORASTER=1 SHARE_LCUPS=1 LCUPS_NAME=cups LCUPSSRCDIR=./cups LCUPSBUILDTYPE= CUPS_CC=$(CC) SHARE_LCUPSI=1 LCUPSI_NAME=cupsimage LCUPSISRCDIR=./cups CUPS_CC=$(CC) CUPSCFLAGS= -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -DHAVE_RESTRICT=1 -DUSE_LIBPAPER -DSHARE_LCUPS=$(SHARE_LCUPS) -DSHARE_LCUPSI=$(SHARE_LCUPSI) ``` So it seems my change instead breaks build for x86_64 non-cross as well.