All GCC stub targets use the same PE switch now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6609 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
940277d9d8
commit
654dce730b
1 changed files with 2 additions and 6 deletions
|
@ -214,12 +214,8 @@ conf.Finish()
|
|||
# sure the sections will be written in the correct order.
|
||||
#
|
||||
|
||||
if defenv['TARGET_ARCH'] == 'amd64':
|
||||
stub_env.Append(LINKFLAGS = ['-B pei-x86-64'])
|
||||
stub_uenv.Append(LINKFLAGS = ['-B pei-x86-64'])
|
||||
else:
|
||||
stub_env.Append(LINKFLAGS = ['--oformat pei-i386'])
|
||||
stub_uenv.Append(LINKFLAGS = ['--oformat pei-i386'])
|
||||
stub_env.Append(LINKFLAGS = ['-B', petype]) ; --oformat petype also works in GCC 4.5.2
|
||||
stub_uenv.Append(LINKFLAGS = ['-B', petype])
|
||||
stub_env.Append(LINKFLAGS = ['-T', File('linker_script').rfile()])
|
||||
stub_uenv.Append(LINKFLAGS = ['-T', File('linker_script').rfile()])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue