From 6a67a646bdab4a7adafcc21417a2dcfc188b4ffa Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Tue, 27 May 2014 17:14:58 +0530 Subject: [PATCH] fix build script using --- linux/build | 2 +- linux/builddebug | 2 +- src/dvb_subtitle_decoder.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 linux/build mode change 100644 => 100755 linux/builddebug diff --git a/linux/build b/linux/build old mode 100644 new mode 100755 index e91b6e68..9628415f --- a/linux/build +++ b/linux/build @@ -1,2 +1,2 @@ #!/bin/bash -g++ -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') +gcc -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') -lm -zmuldefs diff --git a/linux/builddebug b/linux/builddebug old mode 100644 new mode 100755 index 4e199e99..b6d37889 --- a/linux/builddebug +++ b/linux/builddebug @@ -1,2 +1,2 @@ #!/bin/bash -g++ -Wno-write-strings -g -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') +gcc -g -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -I../src/gpacmp4/ -I../src/libpng/ -I../src/zlib/ -o ccextractor $(find ../src/ -name '*.cpp') $(find ../src/ -name '*.c') -lm -zmuldefs diff --git a/src/dvb_subtitle_decoder.c b/src/dvb_subtitle_decoder.c index d3c8710b..82bed7d7 100644 --- a/src/dvb_subtitle_decoder.c +++ b/src/dvb_subtitle_decoder.c @@ -14,7 +14,6 @@ * @file dvbsub.c */ -#include #include #include #include