Skip to content

Conversation

@luigix25
Copy link
Contributor

@luigix25 luigix25 commented Jun 6, 2025

  • Replaced cc with $(CC) so that it can be changed externally.
  • Introduced CFLAGS and LDFLAGS for dump_igvm and igvm_test:
    • Moved -g3 -O0 to CFLAGS and -L $(TARGET_PATH) to LDFLAGS
  • Removed libm from dump_igvm as, IIUC, is not required.
  • Also removed a trailing whitespace from DESTDIR ?=
  • Add missing (non file) targets to .PHONY

FYI: igvm is on its way to be approved as a static library in Fedora

@luigix25 luigix25 requested a review from a team as a code owner June 6, 2025 12:12
Replace cc with $(CC) so that it can be changed externally.
Introduce CFLAGS and LDFLAGS for dump_igvm and igvm_test.
Remove libm from dump_igvm as is not required.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
.PHONY does not include targets that are not file names like `build` or
`all`.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
@luigix25 luigix25 changed the title igvm_c/Makefile: add CFLAGS, LDFLAGS and CC igvm_c/Makefile: add CFLAGS, LDFLAGS, CC and .PHONY targets Jun 6, 2025
@chris-oo
Copy link
Member

chris-oo commented Jun 6, 2025

Do you want a new release for this on github/crates.io?

@chris-oo chris-oo merged commit 2ad2b2c into microsoft:main Jun 6, 2025
6 checks passed
@luigix25
Copy link
Contributor Author

luigix25 commented Jun 6, 2025

Don't worry, no need to! Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants