diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-12-08 17:02:13 +0100 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-12-09 04:08:08 -0800 |
commit | 9e574a603fb968d26a1a6e3a936a131cf416fdc7 (patch) | |
tree | 5a30dea7d0e06e0cd02fe4ec87d3b18975180af2 /Tizen:IVI | |
parent | 88c66b7f12941f3b70a63210853f9c6592642557 (diff) | |
download | obs-9e574a603fb968d26a1a6e3a936a131cf416fdc7.tar.gz obs-9e574a603fb968d26a1a6e3a936a131cf416fdc7.tar.bz2 obs-9e574a603fb968d26a1a6e3a936a131cf416fdc7.zip |
Tizen:*: optflags: set __SOFTFP__ for preproc
Without it will fail if optflags are not overridden and raise an error like :
configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. \
Use CPPFLAGS for: -D__SOFTFP__
configure: error: Can not continue. \
Fix errors mentioned immediately above this line.
More details at :
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Preprocessor-Options.html#index-Wp-986
Change-Id: Ic02777b0aa92f260837060101422629e3f49ed28
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Diffstat (limited to 'Tizen:IVI')
-rw-r--r-- | Tizen:IVI/_config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tizen:IVI/_config b/Tizen:IVI/_config index cbb6c6e..80c5be6 100644 --- a/Tizen:IVI/_config +++ b/Tizen:IVI/_config @@ -166,7 +166,7 @@ Substitute: glibc-devel-32bit Optflags: i586 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fmessage-length=0 +Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -Wp,-D__SOFTFP__ -fmessage-length=0 Macros: |