summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2016-11-16 17:42:23 +0900
committerDongkyun, Son <dongkyun.s@samsung.com>2016-11-16 19:16:06 +0900
commitf030b4e1b47d899e2e8b97a43b1407b2635863de (patch)
tree5e8326f5db95c159595a04cfdab9b79a9aac8357
parent5b56bd67c8ad4362c62c08cbe09d76f8db558638 (diff)
downloadlzop-sandbox/dkson95/gcc6.tar.gz
lzop-sandbox/dkson95/gcc6.tar.bz2
lzop-sandbox/dkson95/gcc6.zip
test build using gcc6sandbox/dkson95/gcc6
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--packaging/lzop.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/lzop.spec b/packaging/lzop.spec
index 0693ced..8814718 100644
--- a/packaging/lzop.spec
+++ b/packaging/lzop.spec
@@ -25,6 +25,8 @@ of the GNU General Public License (GPL).
%build
cp %{SOURCE1001} .
+CFLAGS+=" -std=gnu89 "
+CXXFLAGS+=" -std=gnu++98 "
%configure --disable-nls
make PR_PROGRAM=%{_bindir}/pr