forked from len0rd/rockbox
Revert 1207c7b and fix the actual warnings.
The warnings 1207c7b was supposed to get rid of are sim-only. This
means the binsize argument used for the _FORTIFY_SOURCE fix did not
apply at all. This one actually checks the return values.
Change-Id: Ic4cd8c25de4305310baa868c077a66981cdfcb4b
This commit is contained in:
parent
1207c7b641
commit
9ca9b657e4
2 changed files with 10 additions and 4 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -3827,8 +3827,6 @@ if test -n "$t_cpu"; then
|
|||
elif [ "$simulator" = "yes" ]; then # a few more includes for the sim target tree
|
||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl"
|
||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted"
|
||||
#disable _FORTIFY_SOURCE for simulator builds
|
||||
GCCOPTS="$GCCOPTS -U_FORTIFY_SOURCE"
|
||||
fi
|
||||
|
||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue