diff --git a/demos/various/RT-Posix-Simulator/Makefile b/demos/various/RT-Posix-Simulator/Makefile index a4906141f..b9f106d47 100755 --- a/demos/various/RT-Posix-Simulator/Makefile +++ b/demos/various/RT-Posix-Simulator/Makefile @@ -25,7 +25,7 @@ endif # Linker extra options here. ifeq ($(USE_LDOPT),) - USE_LDOPT = + USE_LDOPT = --defsym=__main_thread_stack_base__=0,--defsym=__main_thread_stack_end__=0 endif # Enable this if you want link time optimizations (LTO). diff --git a/demos/various/RT-Win32-Simulator/Makefile b/demos/various/RT-Win32-Simulator/Makefile index 4bb9801e4..697bd0fdb 100644 --- a/demos/various/RT-Win32-Simulator/Makefile +++ b/demos/various/RT-Win32-Simulator/Makefile @@ -25,7 +25,7 @@ endif # Linker extra options here. ifeq ($(USE_LDOPT),) - USE_LDOPT = + USE_LDOPT = --defsym=___main_thread_stack_base__=0,--defsym=___main_thread_stack_end__=0 endif # Enable this if you want link time optimizations (LTO). diff --git a/test/rt/testbuild/Makefile b/test/rt/testbuild/Makefile index d22395733..d5b53dc12 100755 --- a/test/rt/testbuild/Makefile +++ b/test/rt/testbuild/Makefile @@ -25,7 +25,7 @@ endif # Linker extra options here. ifeq ($(USE_LDOPT),) - USE_LDOPT = + USE_LDOPT = --defsym=__main_thread_stack_base__=0,--defsym=__main_thread_stack_end__=0 endif # Enable this if you want link time optimizations (LTO). diff --git a/test/rt/testbuild/Makefile_win32 b/test/rt/testbuild/Makefile_win32 index c935e9268..6933e0a98 100755 --- a/test/rt/testbuild/Makefile_win32 +++ b/test/rt/testbuild/Makefile_win32 @@ -25,7 +25,7 @@ endif # Linker extra options here. ifeq ($(USE_LDOPT),) - USE_LDOPT = + USE_LDOPT = --defsym=___main_thread_stack_base__=0,--defsym=___main_thread_stack_end__=0 endif # Enable this if you want link time optimizations (LTO).