Merge pull request #244 from SanyaSho/dev/largeaddressaware

wscript: use "/LARGEADDRESSAWARE" on windows
This commit is contained in:
nillerusr 2023-04-29 14:28:57 +00:00 committed by GitHub
commit 1a584655d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -521,14 +521,16 @@ def configure(conf):
'/NODEFAULTLIB:libc', '/NODEFAULTLIB:libc',
'/NODEFAULTLIB:libcd', '/NODEFAULTLIB:libcd',
'/NODEFAULTLIB:libcmt', '/NODEFAULTLIB:libcmt',
'/FORCE' '/FORCE',
'/LARGEADDRESSAWARE'
] ]
else: else:
linkflags += [ linkflags += [
'/INCREMENTAL', '/INCREMENTAL',
'/NODEFAULTLIB:libc', '/NODEFAULTLIB:libc',
'/NODEFAULTLIB:libcd', '/NODEFAULTLIB:libcd',
'/NODEFAULTLIB:libcmtd' '/NODEFAULTLIB:libcmtd',
'/LARGEADDRESSAWARE'
] ]
linkflags += [ linkflags += [