]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
build: adjust compile.h compiler version command line
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 30 May 2023 10:12:59 +0000 (12:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 30 May 2023 10:12:59 +0000 (12:12 +0200)
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 <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/build.mk

index 758590c68eab9b5f42a691efcb5a9165f9f0c358..30d74d4772dff06bf8a18540504b3c203fc867b0 100644 (file)
@@ -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' \