fix(upscale): no identical-code folding in the bridge DLLs

CI's mingw folded ffxConfigure into an identical stub and dropped its export
(amd_fidelityfx_vk.dll: missing ffxConfigure); every exported name keeps its
own body.
This commit is contained in:
The412Banner committed 2026-11-29 22:58:33 -05:00
1 parent f2309c8a09
commit d78ff7ddc7
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ objdump=x86_64-w64-mingw32-objdump
for tool in "$cc" "$objdump"; do
command -v "$tool" >/dev/null || { echo "upscale-bridges: $tool not found (apt install gcc-mingw-w64-x86-64)" >&2; exit 1; }
done
cflags=(-O2 -shared -s -Wall -Wextra -Wno-unused-function -static-libgcc -I"$here"
cflags=(-O2 -fno-ipa-icf -shared -s -Wall -Wextra -Wno-unused-function -static-libgcc -I"$here"
-ffile-prefix-map="$here"=. -Wl,--no-insert-timestamp)
build() {