test build using gcc6 sandbox/dkson95/gcc6
authorDongkyun, Son <dongkyun.s@samsung.com>
Wed, 16 Nov 2016 08:42:23 +0000 (17:42 +0900)
committerDongkyun, Son <dongkyun.s@samsung.com>
Wed, 16 Nov 2016 10:16:06 +0000 (19:16 +0900)
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
packaging/lzop.spec

index 0693ced510d06a566a20464b7c72fd95f58fdb55..881471882c84e83d73c65bf574e392d847661fbe 100644 (file)
@@ -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