Skip to content

Commit

Permalink
build: adjust compile.h compiler version command line
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jan Beulich <[email protected]>
  • Loading branch information
anthonyper-ctx authored and jbeulich committed May 30, 2023
1 parent 352c917 commit 05422d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xen/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 05422d2

Please sign in to comment.