Skip to content

Commit

Permalink
[rbp] Enable optimization on Raspberry Pi
Browse files Browse the repository at this point in the history
  • Loading branch information
foo86 committed Nov 8, 2014
1 parent 2d88a9a commit 940f886
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -771,13 +771,8 @@ CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS"

if test "$use_optimizations" = "yes"; then
final_message="$final_message\n Optimization:\tYes"
if test "$target_platform" = "target_raspberry_pi"; then
CXXFLAGS="$CXXFLAGS"
CFLAGS="$CFLAGS"
else
CXXFLAGS="-O2 $CXXFLAGS"
CFLAGS="-O2 $CFLAGS"
fi
CXXFLAGS="-O2 $CXXFLAGS"
CFLAGS="-O2 $CFLAGS"
else
final_message="$final_message\n Optimization:\tNo"
fi
Expand Down

0 comments on commit 940f886

Please sign in to comment.