From 3e46d682e8bda34ff663ade0d2cd21f6f8893b39 Mon Sep 17 00:00:00 2001 From: LongChair Date: Wed, 18 Mar 2015 10:26:48 -0700 Subject: [PATCH] Don't optimize too much for mmal This will break libmpv reference to libmmal_vc_client.so see https://github.com/raspberrypi/userland/issues/178 --- config/optimize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/optimize b/config/optimize index 81d956672..8e056be0d 100644 --- a/config/optimize +++ b/config/optimize @@ -4,8 +4,8 @@ if [ "$OPTIMIZATIONS" = normal ];then fi if [ "$OPTIMIZATIONS" = size ];then - GCC_OPTIM="-Os -fexcess-precision=fast" - LD_OPTIM="-Wl,--as-needed" + GCC_OPTIM="-Os" + LD_OPTIM="" fi if [ "$LTO_SUPPORT" = yes ];then