From: Anthony PERARD Date: Tue, 30 May 2023 10:12:59 +0000 (+0200) Subject: build: adjust compile.h compiler version command line X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=05422d276b56f2ebc2309a84a66fc5722c45ad74;p=people%2Faperard%2Fxen-unstable.git build: adjust compile.h compiler version command line CFLAGS is just from Config.mk, drop its use. Don't even bother to instead use the flags used to build Xen. Signed-off-by: Anthony PERARD Acked-by: Jan Beulich --- diff --git a/xen/build.mk b/xen/build.mk index 758590c68e..30d74d4772 100644 --- a/xen/build.mk +++ b/xen/build.mk @@ -23,7 +23,7 @@ define cmd_compile.h -e 's/@@whoami@@/$(XEN_WHOAMI)/g' \ -e 's/@@domain@@/$(XEN_DOMAIN)/g' \ -e 's/@@hostname@@/$(XEN_BUILD_HOST)/g' \ - -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) --version 2>&1 | head -1)!g' \ + -e 's!@@compiler@@!$(shell $(CC) --version 2>&1 | head -1)!g' \ -e 's/@@version@@/$(XEN_VERSION)/g' \ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \