libcdr: fix gcc7 build
This commit is contained in:
parent
caba8e3b15
commit
38600e70e0
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ post_configure() {
|
|||
for _f in $(find ${wrksrc} -name Makefile); do
|
||||
sed -i $_f -e "s; -O0;;"
|
||||
done
|
||||
# Fix for gcc7 -Werror=implicit-fallthrough=
|
||||
sed -i src/lib/CMXParser.cpp -e's;Fallthrough ;Fallthrough- ;'
|
||||
}
|
||||
|
||||
libcdr-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue