libcdr: fix gcc7 build
This commit is contained in:
parent
caba8e3b15
commit
38600e70e0
@ -19,6 +19,8 @@ post_configure() {
|
|||||||
for _f in $(find ${wrksrc} -name Makefile); do
|
for _f in $(find ${wrksrc} -name Makefile); do
|
||||||
sed -i $_f -e "s; -O0;;"
|
sed -i $_f -e "s; -O0;;"
|
||||||
done
|
done
|
||||||
|
# Fix for gcc7 -Werror=implicit-fallthrough=
|
||||||
|
sed -i src/lib/CMXParser.cpp -e's;Fallthrough ;Fallthrough- ;'
|
||||||
}
|
}
|
||||||
|
|
||||||
libcdr-devel_package() {
|
libcdr-devel_package() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user