mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Thunks: Fix definition of GUEST_THUNK_LIBRARY
The -deps target is the wrong target to add this to, since its compile flags are propagated to both Guest.cpp and Host.cpp. Instead, define the flag only when processing files within a guest context.
This commit is contained in:
1 parent
acf48e29b2
commit
b08d372c78
3 files changed
+3
-1
No files matched your search
@@ -77,6 +77,7 @@ int main(int argc, char* const argv[]) {
|
||||
AdjustedArgs.push_back(std::string { "--target=" } + platform + "-linux-unknown");
|
||||
AdjustedArgs.push_back("-isystem");
|
||||
AdjustedArgs.push_back(std::string { "/usr/" } + platform + "-linux-gnu/include/");
|
||||
AdjustedArgs.push_back("-DGUEST_THUNK_LIBRARY");
|
||||
return AdjustedArgs;
|
||||
};
|
||||
GuestTool.appendArgumentsAdjuster(append_guest_args);
|
||||
|
||||
Reference in new issue
Block a user