linker script is defined using -T, not -Wl

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4207 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-08-05 15:27:03 +00:00
parent cfb0ff9762
commit 39f365d25f

View file

@ -102,7 +102,7 @@ util_env.Append(LINKFLAGS = '$MAP_FLAG') # generate map file
# sure the sections will be written in the correct order.
#
stub_env.Append(LINKFLAGS = '-Wl,%s' % File('linker_script').abspath)
stub_env.Append(LINKFLAGS = '-T %s' % File('linker_script').abspath)
#
# GCC requires some functions from the CRT to be present, if certain