Don't let GCC 10 generate memmove calls (bug #1248)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7189 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-06-27 23:18:45 +00:00
parent 7e2be76681
commit d62a4a6a21
2 changed files with 6 additions and 0 deletions

View file

@ -40,6 +40,8 @@ Released on ? ?th, 2020
\b Python 3 fixes (\W{http://sf.net/p/nsis/patches/296}{patch #296})
\b GCC 10 memmove workaround (\W{http://sf.net/p/nsis/bugs/1248}{bug #1248})
\H{v3.05} 3.05
Released on December 15th, 2019

View file

@ -103,6 +103,10 @@ stub_env.Append(LINKFLAGS = ['$NODEFLIBS_FLAG']) # no standard libraries
stub_env.Append(LINKFLAGS = ['$ALIGN_FLAG']) # 512 bytes align
stub_env.Append(LINKFLAGS = ['$MAP_FLAG']) # generate map file
conf = FlagsConfigure(stub_env)
conf.CheckCompileFlag('-fno-tree-loop-distribute-patterns') # GCC 10: Don't generate msvcrt!memmove calls (bug #1248)
conf.Finish()
stub_uenv = stub_env.Clone()
stub_uenv.Append(CPPDEFINES = ['_UNICODE', 'UNICODE'])