summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2025-04-02 14:46:06 +0800
committerstar9029 <[email protected]>2025-04-02 14:46:06 +0800
commitf80d66c9d00c1416c210747f05296c749d04159c (patch)
tree56f70558d1ee716214132ace8a7669e67794ca80
parent630b7ef31325690e5a11ce4f5bf353c2ca41bd6e (diff)
Remove /env flag
-rw-r--r--xmake/rules/platform/windows/idl/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/platform/windows/idl/xmake.lua b/xmake/rules/platform/windows/idl/xmake.lua
index dfb25549a..fba167e4f 100644
--- a/xmake/rules/platform/windows/idl/xmake.lua
+++ b/xmake/rules/platform/windows/idl/xmake.lua
@@ -42,11 +42,10 @@ rule("platform.windows.idl")
local flags = {"/nologo"}
table.join2(flags, table.wrap(target:values("idl.flags")))
table.join2(flags, {
- "/env", target:is_arch("x86") and "win32" or target:arch(),
"/out", autogendir,
"/header", name .. ".h",
"/iid", name .. "_i.c",
- "/proxy", name .. ".p.c",
+ "/proxy", name .. "_p.c",
"/tlb", name .. ".tlb",
sourcefile
})