Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.

Conversation

@rumblehhh
Copy link
Contributor

FUNCHOOK_CPU STREQUAL AMD64 will fail to resolve correctly if there is a variable named AMD64.

FUNCHOOK_CPU STREQUAL AMD64 will fail to resolve correctly if there is a variable named AMD64.
@rumblehhh
Copy link
Contributor Author

I had raised these previously in #18 but couldn't reproduce the issue.
We're seeing this issue crop up as one of our 3rd party deps is setting a variable called AMD64 meaning STREQUAL is resolving the AMD64's variable which is not "AMD64". This was resulting in funchook attempting to use funchook_AMD64.c as one of its sources which is incorrect as per the intended logic

@kubo kubo merged commit d2ea602 into kubo:master Oct 13, 2021
@rumblehhh rumblehhh deleted the patch-2 branch October 13, 2021 13:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants