diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/soil2/Workaround-ICE-in-release.patch | |
Diffstat (limited to 'vcpkg/ports/soil2/Workaround-ICE-in-release.patch')
| -rw-r--r-- | vcpkg/ports/soil2/Workaround-ICE-in-release.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/soil2/Workaround-ICE-in-release.patch b/vcpkg/ports/soil2/Workaround-ICE-in-release.patch new file mode 100644 index 0000000..3e9e29a --- /dev/null +++ b/vcpkg/ports/soil2/Workaround-ICE-in-release.patch @@ -0,0 +1,20 @@ +diff --git a/src/SOIL2/SOIL2.c b/src/SOIL2/SOIL2.c +index 3a10885..01bbb23 100644 +--- a/src/SOIL2/SOIL2.c ++++ b/src/SOIL2/SOIL2.c +@@ -2027,6 +2027,7 @@ const char* + return result_string_pointer; + } + ++#pragma optimize("", off) + unsigned int SOIL_direct_load_DDS_from_memory( + const unsigned char *const buffer, + int buffer_length, +@@ -2409,6 +2410,7 @@ unsigned int SOIL_direct_load_DDS_from_memory( + quick_exit: + return tex_ID; + } ++#pragma optimize("", on) + + unsigned int SOIL_direct_load_DDS( + const char *filename, |