From cf8537de92c1f490557615eb233ff4e03aca864d Mon Sep 17 00:00:00 2001 From: Brian Schmalz Date: Sun, 18 Oct 2015 00:46:40 -0500 Subject: [PATCH] The correct option is -ftoplevel-reorder not -fno-toplevel-reorder. --- hardware/pic32/platforms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/pic32/platforms.txt b/hardware/pic32/platforms.txt index ef1a2b017..96143c1af 100644 --- a/hardware/pic32/platforms.txt +++ b/hardware/pic32/platforms.txt @@ -15,9 +15,9 @@ pic32.name=chipKit #pic32.compiler.path=/opt/mac-pic32/bin/ pic32.compiler.c.cmd=pic32-gcc pic32.compiler.path={0}/hardware/pic32/compiler/pic32-tools/bin/ -pic32.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-fno-toplevel-reorder +pic32.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-ftoplevel-reorder pic32.compiler.cpp.cmd=pic32-g++ -pic32.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-fno-toplevel-reorder +pic32.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-ftoplevel-reorder pic32.compiler.S.flags=-O2::-g1::-c::-Wa,--gdwarf-2 pic32.compiler.ar.cmd=pic32-ar pic32.compiler.ar.flags=rcs