Skip to content

Commit

Permalink
Reorder CFLAGS, add dwarf 3 symbols for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMore201 committed Oct 16, 2024
1 parent e40c62d commit 0efb81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ if [[ "$task_string" == "build-gcc-stage2" || "$task_string" == "build-all" || "
CFLAGS="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" \
CFLAGS_FOR_TARGET='-g -gdwarf-3 -O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
CPPFLAGS_FOR_TARGET='-g -O2 -gdwarf-3 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
CPPFLAGS_FOR_TARGET='-g -gdwarf-3 -O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
--target=tricore-elf \
--enable-lib32 \
--disable-lib64 \
Expand Down Expand Up @@ -465,8 +465,8 @@ if [[ "$task_string" == "build-gcc-stage2-win" || "$task_string" == "build-all"
LDFLAGS="$LDFLAGS" \
CFLAGS="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" \
CFLAGS_FOR_TARGET='-O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
CPPFLAGS_FOR_TARGET='-O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
CFLAGS_FOR_TARGET='-g -gdwarf-3 -O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
CPPFLAGS_FOR_TARGET='-g -gdwarf-3 -O2 -ffast-math -ffunction-sections -mfast-div -fno-common -mno-eabi-bitfield-limit' \
--target=tricore-elf \
--host=x86_64-w64-mingw32 \
--enable-lib32 \
Expand Down

0 comments on commit 0efb81c

Please sign in to comment.