diff options
author | Yury Usishchev <y.usishchev@samsung.com> | 2015-04-30 19:08:40 +0300 |
---|---|---|
committer | Yury Usishchev <y.usishchev@samsung.com> | 2015-04-30 19:12:34 +0300 |
commit | 8d8871f50c498123e2a629a1ce6370c9378f352b (patch) | |
tree | 4446a8b97f165520b5ea2fd2fe215eef128db552 | |
parent | fa8ddbf339415d2af2323d21b7fda2737db81fdd (diff) | |
download | libvpx-sandbox/jolfzverb/tizen.tar.gz libvpx-sandbox/jolfzverb/tizen.tar.bz2 libvpx-sandbox/jolfzverb/tizen.zip |
Explicitly set C stadard to usesandbox/jolfzverb/tizen
Since GCC 5.1 default mode for C is -std=gnu11.
Change back to -std=gnu89 to avoid build error:
[ 244s] In file included from ../test/../nestegg/halloc/src/halloc.c:19:0:
[ 244s] ../test/../nestegg/halloc/src/align.h:33:25: error: conflicting types for 'max_align_t'
[ 244s] typedef union max_align max_align_t;
[ 244s] In file included from ../test/../nestegg/halloc/src/../halloc.h:18:0,
[ 244s] from ../test/../nestegg/halloc/src/halloc.c:18:
[ 244s] /usr/lib/gcc/i586-tizen-linux/5.1/include/stddef.h:429:3: note: previous declaration of 'max_align_t' was here
[ 244s] } max_align_t;
Change-Id: I625324fb5a23fed53bdcdbeaaea59d01a90e78d3
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
-rw-r--r-- | packaging/libvpx.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index e672d1c8a..c06f13944 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -53,7 +53,7 @@ cp %{SOURCE1001} . sed -e 's|CROSS=".*"|CROSS=""|g' -i ./build/make/configure.sh cd build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -std=gnu89" # It is only an emulation of autotools configure; the macro does not work # libvpx default enable NEON support on ARMv7, unfortunately some ARMv7 |