Actually specify a petype this time
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6610 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
654dce730b
commit
d0ddb4aab0
1 changed files with 4 additions and 1 deletions
|
@ -214,7 +214,10 @@ conf.Finish()
|
|||
# sure the sections will be written in the correct order.
|
||||
#
|
||||
|
||||
stub_env.Append(LINKFLAGS = ['-B', petype]) ; --oformat petype also works in GCC 4.5.2
|
||||
petype = 'pei-i386'
|
||||
if defenv['TARGET_ARCH'] == 'amd64':
|
||||
petype = 'pei-x86-64'
|
||||
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